[pve-devel] applied: Re: [PATCH qemu-server 3/3] fix #2794: allow legacy IGD passthrough

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jun 25 13:34:21 CEST 2020


On 18.06.20 16:36, Stefan Reiter wrote:
> Legacy IGD passthrough requires address 00:1f.0 to not be assigned to
> anything on QEMU startup (currently it's assigned to bridge pci.2).
> Changing this in general would break live-migration, so introduce a new
> hostpci parameter "legacy-igd", which if set to 1 will move that bridge
> to be nested under bridge 1.
> 
> This is safe because:
> * Bridge 1 is unconditionally created on i440fx, so nesting is ok
> * Defaults are not changed, i.e. PCI layout only changes when the new
> parameter is specified manually
> * hostpci forbids migration anyway
> 
> Additionally, the PT device has to be assigned address 00:02.0 in the
> guest as well, which is usually used for VGA assignment. Luckily, IGD PT
> requires vga=none, so that is not an issue either.
> 
> See https://git.qemu.org/?p=qemu.git;a=blob;f=docs/igd-assign.txt
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
>  PVE/QemuServer.pm     | 10 ++++++++--
>  PVE/QemuServer/PCI.pm | 45 +++++++++++++++++++++++++++++++++++++------
>  2 files changed, 47 insertions(+), 8 deletions(-)
> 
>

applied, thanks! Fixed up some formatting and general indentation issues in that
file.




More information about the pve-devel mailing list