Retrieving zPCI specific info from QEMU
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v15 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | vfio: vfio_iommu_type1: linux header place holderlinux-headers/ linux-headers/ | +45 | 0 replies | |
| 2/5 | s390: PCI: Creation a header dedicated to PCI CLPhw/ hw/ hw/ | +212 | 0 replies | |
| 3/5 | s390: vfio_pci: Use a PCI Group structurehw/ hw/ hw/ | +65 | 0 replies | |
| 4/5 | s390: vfio_pci: Use a PCI Function structurehw/ hw/ hw/ | +20 | 0 replies | |
| 5/5 | s390: vfio_pci: Get zPCI function info from hosthw/ hw/ | +82 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Collin Walling |
|---|---|
| 1/5 | |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/5] Retrieving zPCI specific info from QEMU
This patch implement the QEMU part to retrieve ZPCI specific information from the host.
The Linux part has been posted on a separate patch on the LKML.
Subject: [PATCH 0/4] Retrieving zPCI specific info with VFIO
Message-Id: <[email protected]>
We use the PCI VFIO interface to retrieve ZPCI specific information from the host with a ZPCI specific device region.
The retrieval is done only once per function and function group during the plugging of the device.
The guest's requests are filled with shadow values we keep for the duration of the device remains plugged.
Still there are some values we need to virtualize, like the UID and FID of the zPCI function, and we currently only allow the refresh bit for the zPCI group flags.
Note that we export the CLP specific definitions in a dedicated file for clarity.
Pierre Morel (5):
vfio: vfio_iommu_type1: linux header place holder
s390: PCI: Creation a header dedicated to PCI CLP
s390: vfio_pci: Use a PCI Group structure
s390: vfio_pci: Use a PCI Function structure
s390: vfio_pci: Get zPCI function info from host
hw/s390x/s390-pci-bus.c | 144 +++++++++++++++++++++++++-- hw/s390x/s390-pci-bus.h | 15 ++- hw/s390x/s390-pci-clp.h | 211 ++++++++++++++++++++++++++++++++++++++++ hw/s390x/s390-pci-inst.c | 28 +++--- hw/s390x/s390-pci-inst.h | 196 ------------------------------------- linux-headers/linux/vfio.h | 14 ++- linux-headers/linux/vfio_zdev.h | 34 +++++++ 7 files changed, 422 insertions(+), 220 deletions(-) create mode 100644 hw/s390x/s390-pci-clp.h create mode 100644 linux-headers/linux/vfio_zdev.h
Signature · 1 line
2.7.4