hw/xen: Hook up emulated implementation for event channel operations
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 1 Jan 2023 23:49:25 +0000 (23:49 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 Mar 2023 17:04:30 +0000 (17:04 +0000)
commit4dfd5fb178f93c3636a20684e7378427f067ce35
treee7e518a9ecbe0950ef11dc0666c35051721bbfd5
parent072519037dde8957cc8c519caad21e7816b46129
hw/xen: Hook up emulated implementation for event channel operations

We provided the backend-facing evtchn functions very early on as part of
the core Xen platform support, since things like timers and xenstore need
to use them.

By what may or may not be an astonishing coincidence, those functions
just *happen* all to have exactly the right function prototypes to slot
into the evtchn_backend_ops table and be called by the PV backends.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/kvm/xen_evtchn.c