]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
hw/xen: Add backend implementation of interdomain event channel support
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 27 Dec 2022 21:20:07 +0000 (21:20 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 20 Jan 2023 12:28:52 +0000 (12:28 +0000)
commitd51ca52ac80d41aaed7038f773652e39fca25b4a
tree528a6eea54b6a96fd13e76854563e892f74594f1
parent70efc920ada9618a3127fa009249c541191d671a
hw/xen: Add backend implementation of interdomain event channel support

The provides the QEMU side of interdomain event channels, allowing events
to be sent to/from the guest.

The API mirrors libxenevtchn, and in time both this and the real Xen one
will be available through ops structures so that the PV backend drivers
can use the correct one as appropriate.

For now, this implementation can be used directly by our XenStore which
will be for emulated mode only.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_evtchn.h