OSDN Git Service

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>
Wed, 1 Mar 2023 09:08:25 +0000 (09:08 +0000)
commit794fba23a53ac714589f84f868202d0cfcb41cd2
treeca3ac587d83a7272548a7609bbf80e764c7cb2e8
parentc6623cc3e785b806c6175c3e85a0ee4d6db4f7d4
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>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_evtchn.h