qemu-server/PVE
Stefan Reiter 13d689792e fix #2794: allow legacy IGD passthrough
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@proxmox.com>
2020-06-25 13:25:35 +02:00
..
API2 gen_rand_chars: handle errors properly 2020-06-22 12:03:01 +02:00
CLI qm nbdstop: cope graceful with errors 2020-04-29 16:22:33 +02:00
QemuServer fix #2794: allow legacy IGD passthrough 2020-06-25 13:25:35 +02:00
VZDump trivial whitespace followup fix 2020-06-24 10:59:05 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm vzdump: move include logic for volumes to method 2020-06-24 10:56:57 +02:00
QemuMigrate.pm migrate: cleanup forwarding code 2020-05-06 16:16:50 +02:00
QemuServer.pm fix #2794: allow legacy IGD passthrough 2020-06-25 13:25:35 +02:00
QMPClient.pm Append newline to all QGA commands 2020-03-11 11:11:45 +01:00