Revert "contrib/vhost-user-blk: fix the compilation issue"
[qemu.git] / stubs / monitor.c
blobb57fe6c32fb8a56009a62ec8d9d4067c22098a59
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "qapi/qapi-emit-events.h"
4 #include "qemu-common.h"
5 #include "monitor/monitor.h"
7 __thread Monitor *cur_mon;
9 int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
11 error_setg(errp, "only QEMU supports file descriptor passing");
12 return -1;
15 void monitor_init(Chardev *chr, int flags)
19 void qapi_event_emit(QAPIEvent event, QDict *qdict)