From: "Edgar E. Iglesias" <edgar.iglesias@amd.com>
Enable PCI on the ARM PVH machine. First we add a way to control the use
of buffered IOREQ's since those are not supported on Xen/ARM.
Finally we enable the PCI support.
I've published some instructions on how to try this including the work in
progress Xen side of the PVH PCI support:
https://github.com/edgarigl/docs/blob/master/xen/pvh/virtio-pci-dom0less.md
Cheers,
Edgar
ChangeLog:
v1 -> v2:
* Change handle_ioreq from int to uint8_t.
* Fallback to legacy API if buffered ioreqs are enabled and also if
the new API is not supported. Clarify with comments.
Edgar E. Iglesias (4):
hw/xen: Expose handle_bufioreq in xen_register_ioreq
hw/xen: xenpvh: Disable buffered IOREQs for ARM
hw/xen: xenpvh: Add pci-intx-irq-base property
hw/arm: xenpvh: Enable PCI for ARM PVH
hw/arm/xen-pvh.c | 17 ++++++
hw/i386/xen/xen-hvm.c | 4 +-
hw/i386/xen/xen-pvh.c | 3 +
hw/xen/xen-hvm-common.c | 101 ++++++++++++++++++++------------
hw/xen/xen-pvh-common.c | 40 ++++++++++++-
include/hw/xen/xen-hvm-common.h | 3 +
include/hw/xen/xen-pvh-common.h | 3 +
include/hw/xen/xen_native.h | 3 +-
8 files changed, 133 insertions(+), 41 deletions(-)
--
2.43.0