[pve-devel] [PATCH 0/3] fix #2794: Allow legacy-igd passthrough assignment

Stefan Reiter s.reiter at proxmox.com
Thu Jun 18 16:36:51 CEST 2020


Some Intel iGPUs support a special passthrough mode called "legacy-igd
passthrough" which requires certain conditions to be true.

The patches in this series include a fix for a regression in QEMU 5.0.0 which
was already accepted upstream for 5.1, but is very straightforward, so it can be
picked up by us in the meantime.

The qemu-server part first moves all relevant 'hostpci' code to PCI.pm to avoid
adding to the mess that is config_to_command, then adds support for legacy-igd
by shuffling around the required PCI address assignments.

A test version of the qemu-server patches in combination with a custom build of
QEMU that includes the backported fix has been tested on supported hardware by
bugzilla user Shak (see bug #2794). Much thanks!


qemu: Stefan Reiter (1):
  fix #2794: Include legacy-igd passthrough fix

 ...ks-Fix-broken-legacy-IGD-passthrough.patch | 34 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 35 insertions(+)
 create mode 100644 debian/patches/extra/0001-hw-vfio-pci-quirks-Fix-broken-legacy-IGD-passthrough.patch

qemu-server: Stefan Reiter (2):
  cfg2cmd: hostpci: move code to PCI.pm
  fix #2794: allow legacy IGD passthrough

 PVE/QemuServer.pm     | 178 +++---------------------------------
 PVE/QemuServer/PCI.pm | 205 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 218 insertions(+), 165 deletions(-)

-- 
2.20.1




More information about the pve-devel mailing list