tests: Add a tester for HMP commands
[qemu.git] / stubs / monitor.c
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "qemu-common.h"
4 #include "monitor/monitor.h"
5
6 Monitor *cur_mon = NULL;
7
8 int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
9 {
10 error_setg(errp, "only QEMU supports file descriptor passing");
11 return -1;
12 }
13
14 void monitor_init(Chardev *chr, int flags)
15 {
16 }