[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH v1 09/25] hw/xen: Add evtchn operations to allow redirection to internal emulation



On 02/03/2023 15:34, David Woodhouse wrote:
From: David Woodhouse <dwmw@xxxxxxxxxxxx>

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@xxxxxxxxxxxx>
Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx>
---
  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


Reviewed-by: Paul Durrant <paul@xxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.