This patchset aims to fix 2 bugs on legacy mode brought by commit a59d06305fff ("vfio/pci: Introduce x-pci-class-code option").
1. QEMU tries to enable VGA access on device emulated to VGA controller. 2. pci_register_vga() is not called after calling vfio_populate_vga(). Tomita Moeko (2): vfio/igd: Require host VGA decode for legacy mode vfio/igd: Fix VGA regions are not exposed in legacy mode docs/igd-assign.txt | 1 + hw/vfio/igd.c | 19 ++++++++++++------- hw/vfio/pci.c | 13 ++++++++++--- hw/vfio/pci.h | 1 + 4 files changed, 24 insertions(+), 10 deletions(-) -- 2.47.2