Skip to content

hw/arm: xenpvh: Enable PCI for ARM PVH

Edgar E. Iglesias qemu-arm qemu-devel xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v14 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/xen: Expose handle_bufioreq in xen_register_ioreqhw/i386/xen/xen-hvm.c hw/xen/xen-hvm-common.c hw/xen/xen-pvh-common.c +2 more+74 -411 reply
2/4hw/xen: xenpvh: Disable buffered IOREQs for ARMhw/arm/xen-pvh.c hw/i386/xen/xen-pvh.c hw/xen/xen-pvh-common.c +1 more+10 -11 reply
3/4hw/xen: xenpvh: Add pci-intx-irq-base propertyhw/xen/xen-pvh-common.c+36 -00 replies
4/4hw/arm: xenpvh: Enable PCI for ARM PVHhw/arm/xen-pvh.c+14 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/4R-b
2/4R-b
3/4A-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] hw/arm: xenpvh: Enable PCI for ARM PVH

From: "Edgar E. Iglesias" <[email protected]>

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(-)
Signature · 1 line
2.43.0