2 * QEMU Xen emulation: QMP stubs
4 * Copyright © 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
6 * Authors: David Woodhouse <dwmw2@infradead.org>
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.
12 #include "qemu/osdep.h"
14 #include "qapi/error.h"
15 #include "qapi/qapi-commands-misc-target.h"
17 #include "xen_evtchn.h"
18 #include "xen_primary_console.h"
20 void xen_evtchn_snoop_msi(PCIDevice
*dev
, bool is_msix
, unsigned int vector
,
21 uint64_t addr
, uint32_t data
, bool is_masked
)
25 void xen_evtchn_remove_pci_device(PCIDevice
*dev
)
29 bool xen_evtchn_deliver_pirq_msi(uint64_t address
, uint32_t data
)
34 void xen_primary_console_create(void)
38 void xen_primary_console_set_be_port(uint16_t port
)
42 EvtchnInfoList
*qmp_xen_event_list(Error
**errp
)
44 error_setg(errp
, "Xen event channel emulation not enabled");
48 void qmp_xen_event_inject(uint32_t port
, Error
**errp
)
50 error_setg(errp
, "Xen event channel emulation not enabled");