@@ -12,6 +12,8 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
+#include "monitor/monitor.h"
+#include "monitor/hmp.h"
#include "xen_evtchn.h"
#include "xen_primary_console.h"
@@ -37,3 +39,13 @@ void xen_primary_console_create(void)
void xen_primary_console_set_be_port(uint16_t port)
{
}
+
+void hmp_xen_event_list(Monitor *mon, const QDict *qdict)
+{
+ monitor_printf(mon, "XEN emulation is not available in this QEMU\n");
+}
+
+void hmp_xen_event_inject(Monitor *mon, const QDict *qdict)
+{
+ monitor_printf(mon, "XEN emulation is not available in this QEMU\n");
+}
@@ -1843,7 +1843,6 @@ SRST
ERST
#endif
-#if defined(CONFIG_XEN_EMU)
{
.name = "xen-event-inject",
.args_type = "port:i",
@@ -1870,7 +1869,6 @@ SRST
``xen-event-list``
List event channels in the guest
ERST
-#endif
HXCOMM *** MUST BE LAST ENTRY **
{