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 | 210 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 171 insertions(+), 39 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html