qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] hw/arm: xenpvh: Enable PCI for ARM PVH
@ 2024-09-23 14:55 Edgar E. Iglesias
  2024-09-23 14:55 ` [PATCH v2 1/4] hw/xen: Expose handle_bufioreq in xen_register_ioreq Edgar E. Iglesias
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Edgar E. Iglesias @ 2024-09-23 14:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: sstabellini, anthony, paul, peter.maydell, alex.bennee,
	edgar.iglesias, xen-devel

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-24 22:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 14:55 [PATCH v2 0/4] hw/arm: xenpvh: Enable PCI for ARM PVH Edgar E. Iglesias
2024-09-23 14:55 ` [PATCH v2 1/4] hw/xen: Expose handle_bufioreq in xen_register_ioreq Edgar E. Iglesias
2024-09-24 22:50   ` Stefano Stabellini
2024-09-23 14:55 ` [PATCH v2 2/4] hw/xen: xenpvh: Disable buffered IOREQs for ARM Edgar E. Iglesias
2024-09-24 22:52   ` Stefano Stabellini
2024-09-23 14:55 ` [PATCH v2 3/4] hw/xen: xenpvh: Add pci-intx-irq-base property Edgar E. Iglesias
2024-09-23 14:55 ` [PATCH v2 4/4] hw/arm: xenpvh: Enable PCI for ARM PVH Edgar E. Iglesias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).