qemu/stubs/monitor.c
Paolo Bonzini 869e9aecbe stubs: merge all monitor stubs in one file, remove monitor_cur_is_qmp stub
monitor_cur_is_qmp was previously used by other stubs, but it's not
since 397d30e ("qemu-error: remove dependency of stubs on monitor",
2016-11-01).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-01-16 17:52:35 +01:00

17 lines
337 B
C

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "monitor/monitor.h"
Monitor *cur_mon = NULL;
int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
{
error_setg(errp, "only QEMU supports file descriptor passing");
return -1;
}
void monitor_init(CharDriverState *chr, int flags)
{
}