q35: fix mmconfig and PCI0._CRS
[qemu.git] / stubs / monitor.c
blobcdbf5c5f9ac581d8c3b9ad08e667fad214be292f
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "qapi/qapi-emit-events.h"
4 #include "monitor/monitor.h"
6 __thread Monitor *cur_mon;
8 int monitor_vprintf(Monitor *mon, const char *fmt, va_list ap)
10 abort();
13 int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
15 error_setg(errp, "only QEMU supports file descriptor passing");
16 return -1;
19 void monitor_init(Chardev *chr, int flags)
23 void qapi_event_emit(QAPIEvent event, QDict *qdict)