]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer/PCI.pm
pci: allow override of PCI vendor/device ids
authorNicholas Sherlock <n.sherlock@gmail.com>
Tue, 18 Jan 2022 21:38:39 +0000 (21:38 +0000)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Jan 2022 09:59:23 +0000 (10:59 +0100)
commitd806b017ac3e364bab3b1ada2ef1f82781344bd6
tree0d7480fa7d3a073a5f1fa0b55b5d066f950de3a5
parentea18b60455b168e8949df04259a98b0b06c4e48c
pci: allow override of PCI vendor/device ids

This allows mobile- and vGPUs to be presented to the guest as if they
were the original desktop variants of the card. It also allows
device-ID variants that guests don't know about to be renamed to
match compatible sibling devices the guest does have drivers for
(e.g. to remove manufacturer-specific vendor ID variants that prevent
the use of a device which would otherwise have a supported chipset)

e.g. hostpci0: 03:00,vendor-id=0x8086,device-id=0x10f6

Signed-off-by: Nicholas Sherlock <n.sherlock@gmail.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuServer/PCI.pm
test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf [new file with mode: 0644]
test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd [new file with mode: 0644]