From: David Woodhouse <dwmw@amazon.co.uk>
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>
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
---
hw/9pfs/xen-9p-backend.c | 24 +++---
hw/i386/xen/xen-hvm.c | 27 ++++---
hw/xen/meson.build | 1 +
hw/xen/xen-bus.c | 22 +++---
hw/xen/xen-legacy-backend.c | 8 +-
hw/xen/xen-operations.c | 71 +++++++++++++++++
hw/xen/xen_pvdev.c | 12 +--
include/hw/xen/xen-bus.h | 1 +
include/hw/xen/xen-legacy-backend.h | 1 +
include/hw/xen/xen_backend_ops.h | 118 ++++++++++++++++++++++++++++
include/hw/xen/xen_common.h | 12 ---
include/hw/xen/xen_pvdev.h | 1 +
softmmu/globals.c | 1 +
13 files changed, 242 insertions(+), 57 deletions(-)
create mode 100644 hw/xen/xen-operations.c
create mode 100644 include/hw/xen/xen_backend_ops.h