hw/xen: Add evtchn operations to allow redirection to internal emulation
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 1 Jan 2023 17:54:41 +0000 (17:54 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 Mar 2023 17:04:30 +0000 (17:04 +0000)
commitb6cacfea0b38300e3ea5fd6d486d5085122554eb
tree316aa4d7763407ba8c7cd5d7f01def85e7a0b2b7
parent831b0db8abda1d837a299893c4e3027942c8ac49
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>
13 files changed:
hw/9pfs/xen-9p-backend.c
hw/i386/xen/xen-hvm.c
hw/xen/meson.build
hw/xen/xen-bus.c
hw/xen/xen-legacy-backend.c
hw/xen/xen-operations.c [new file with mode: 0644]
hw/xen/xen_pvdev.c
include/hw/xen/xen-bus.h
include/hw/xen/xen-legacy-backend.h
include/hw/xen/xen_backend_ops.h [new file with mode: 0644]
include/hw/xen/xen_common.h
include/hw/xen/xen_pvdev.h
softmmu/globals.c