RFC get real IOMMU information from VFIO IOMMU
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vfio: Linux header placeholderlinux-headers/ | +62 | 0 replies | |
| 2/3 | vfio/pci: Get real IOMMU information from containerhw/ | +56 | 0 replies | |
| 3/3 | s390x/pci: Reporting the host aperture to the guesthw/ hw/ hw/ +2 more | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH v1 0/3] [RFC] get real IOMMU information from VFIO IOMMU
In the Z-Architecture, the IOMMU information may change on a device basis.
until this patch series we used hardcoded values to define the IOMMU aperture we provide to the guest during PCI enumeration.
Let's ask the host about the IOMMU specific configuration using VFIO capabilities.
NOTES:
1- You will need the according Linux patch to test this.
2- I am really not happy to add S390 dedicated code in the
VFIO common code, as do SPAPR, but I did not find a better solution.
Any idea?
Pierre Morel (3):
vfio: Linux header placeholder
vfio/pci: Get real IOMMU information from container s390x/pci: Reporting the host aperture to the guest
hw/s390x/s390-pci-bus.c | 2 +- hw/s390x/s390-pci-bus.h | 3 ++ hw/s390x/s390-pci-inst.c | 20 ++++++++++-- hw/vfio/common.c | 75 +++++++++++++++++++++++++++++++++---------- include/hw/vfio/vfio-common.h | 3 ++ linux-headers/linux/vfio.h | 65 +++++++++++++++++++++++++++++++++++-- 6 files changed, 144 insertions(+), 24 deletions(-)
Signature · 1 line
2.7.4