Skip to content

qemu vfio-pci: PCIe and generic config space mangling

Alex Williamson kvm 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfio-pci: Generalize PCI config manglinghw/vfio_pci.c+42 -380 replies
2/2vfio-pci: Add PCIe capability mangling based on bus typehw/vfio_pci.c+128 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] qemu vfio-pci: PCIe and generic config space mangling

v2: Removing trailing \n from error_report calls

This series generalizes the places where we already rely on QEMU config space emulation to make it easier to add various other fields. It turns out that when we start running on Q35 Windows cares quite a bit about the PCIe type we expose. Drivers will fail to load if not set to something valid and appropriate for the bus. We don't have anything in place yet to tell what the bus is, so for now we rely on a temporary option that will eventually get replaced by something automatic. Thanks,

Alex

---

Alex Williamson (2):
vfio-pci: Generalize PCI config mangling
vfio-pci: Add PCIe capability mangling based on bus type

 hw/vfio_pci.c |  209 ++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 170 insertions(+), 39 deletions(-)