summary refs log tree commit diff stats
path: root/stubs/monitor-i386-xen.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-05-22 12:05:33 -0700
committerMarkus Armbruster <armbru@redhat.com>2025-05-28 18:54:18 +0200
commit4b679a94c69db2526ddf77d4a0bd6b041b9fa133 (patch)
tree537c49256484c2bddb5c4a45624654ff2c09de36 /stubs/monitor-i386-xen.c
parent28a6a99834cd126f80f426ac3fe00625f165ebea (diff)
downloadfocaccia-qemu-4b679a94c69db2526ddf77d4a0bd6b041b9fa133.tar.gz
focaccia-qemu-4b679a94c69db2526ddf77d4a0bd6b041b9fa133.zip
qapi: make Xen event commands unconditionally available
This removes the TARGET_I386 condition from the Xen event channel
commands, moving them to the recently introduced misc-i386.json
QAPI file, given they are inherantly i386 specific commands.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20250522190542.588267-7-pierrick.bouvier@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to '')
-rw-r--r--stubs/monitor-i386-xen.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/stubs/monitor-i386-xen.c b/stubs/monitor-i386-xen.c
new file mode 100644
index 0000000000..95b826f979
--- /dev/null
+++ b/stubs/monitor-i386-xen.c
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include "qemu/osdep.h"
+#include "qapi/error.h"
+#include "qapi/qapi-commands-misc-i386.h"
+
+EvtchnInfoList *qmp_xen_event_list(Error **errp)
+{
+    error_setg(errp, "Xen event channel emulation not enabled");
+    return NULL;
+}
+
+void qmp_xen_event_inject(uint32_t port, Error **errp)
+{
+    error_setg(errp, "Xen event channel emulation not enabled");
+}