aboutsummaryrefslogtreecommitdiff
path: root/softmmu/globals.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2023-01-01 17:54:41 +0000
committerDavid Woodhouse <dwmw@amazon.co.uk>2023-03-07 17:04:30 +0000
commitb6cacfea0b38300e3ea5fd6d486d5085122554eb (patch)
tree316aa4d7763407ba8c7cd5d7f01def85e7a0b2b7 /softmmu/globals.c
parent831b0db8abda1d837a299893c4e3027942c8ac49 (diff)
downloadqemu-b6cacfea0b38300e3ea5fd6d486d5085122554eb.zip
qemu-b6cacfea0b38300e3ea5fd6d486d5085122554eb.tar.gz
qemu-b6cacfea0b38300e3ea5fd6d486d5085122554eb.tar.bz2
hw/xen: Add evtchn operations to allow redirection to internal emulation
The existing implementation calling into the real libxenevtchn moves to a new file hw/xen/xen-operations.c, and is called via a function table which in a subsequent commit will also be able to invoke the emulated event channel support. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'softmmu/globals.c')
-rw-r--r--softmmu/globals.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/softmmu/globals.c b/softmmu/globals.c
index 0a44056..eb62739 100644
--- a/softmmu/globals.c
+++ b/softmmu/globals.c
@@ -65,3 +65,4 @@ bool qemu_uuid_set;
uint32_t xen_domid;
enum xen_mode xen_mode = XEN_DISABLED;
bool xen_domid_restrict;
+struct evtchn_backend_ops *xen_evtchn_ops;