xref: /openbmc/qemu/hw/i386/kvm/xen-stubs.c (revision 507cb64d)
1 /*
2  * QEMU Xen emulation: QMP stubs
3  *
4  * Copyright © 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5  *
6  * Authors: David Woodhouse <dwmw2@infradead.org>
7  *
8  * This work is licensed under the terms of the GNU GPL, version 2 or later.
9  * See the COPYING file in the top-level directory.
10  */
11 
12 #include "qemu/osdep.h"
13 
14 #include "qapi/error.h"
15 #include "qapi/qapi-commands-misc-target.h"
16 
17 #ifdef TARGET_I386
18 EvtchnInfoList *qmp_xen_event_list(Error **errp)
19 {
20     error_setg(errp, "Xen event channel emulation not enabled");
21     return NULL;
22 }
23 
24 void qmp_xen_event_inject(uint32_t port, Error **errp)
25 {
26     error_setg(errp, "Xen event channel emulation not enabled");
27 }
28 #endif
29