master
c 17 lines 399 Bytes
Raw
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "monitor/hmp.h"
4
5 int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
6 {
7 error_setg(errp, "only QEMU supports file descriptor passing");
8 return -1;
9 }
10
11 #ifdef CONFIG_HMP
12 void monitor_new_hmp(const char *id, const char *chardev_id,
13 bool use_readline, Error **errp)
14 {
15 g_assert_not_reached();
16 }
17 #endif