mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
28a6a99834
commit
4b679a94c6
6 changed files with 125 additions and 125 deletions
16
stubs/monitor-i386-xen.c
Normal file
16
stubs/monitor-i386-xen.c
Normal file
|
@ -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");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue