qemu-server/PVE/QemuServer
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
..
Agent.pm fix #2612: allow input-data in guest exec and make command optional 2020-03-03 14:34:02 +01:00
Cloudinit.pm fix #2748: make order of interfaces consistent 2020-06-02 11:45:35 +02:00
CPUConfig.pm CPUConfig: add add_cpu_json_properties() 2020-06-18 17:11:47 +02:00
Drive.pm Switch to using foreach_volume instead of foreach_drive 2020-04-08 22:11:54 +02:00
Helpers.pm add new helper to calculate timeout based on vm config 2020-01-15 17:36:16 +01:00
ImportDisk.pm qm importdisk: tell user to what VM disk we actually imported 2019-10-29 19:11:21 +01:00
Machine.pm version_guard scsi drive count 2020-02-12 10:32:57 +01:00
Makefile Create Drive.pm and move drive-related code there 2020-03-07 18:23:57 +01:00
Memory.pm Die on misaligned memory for hotplugging 2020-03-19 18:55:27 +01:00
Monitor.pm mon_cmd: add explicit return 2019-11-30 17:24:55 +01:00
OVF.pm importovf: die with error when disk file is missing 2020-04-27 13:13:10 +02:00
PCI.pm fix #2794: allow legacy IGD passthrough 2020-06-25 13:25:35 +02:00
USB.pm usb: Add USB3 capabilities to Spice USB devices 2019-09-21 13:22:17 +02:00