]> www.infradead.org Git - users/dwmw2/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>
Wed, 22 Feb 2023 16:25:12 +0000 (16:25 +0000)
commit2d3b624dc7444f2a73899f57ffacf064588a8128
treeadec44b5b880927abe4a2c08b2bc0616e8f2a820
parent33f3f946502bb13fe5e0b3b08450ed856a885558
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