mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-22 06:39:44 +00:00

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>
17 lines
519 B
Plaintext
17 lines
519 B
Plaintext
# TEST: Overriding PCI vendor/device IDs reported to guest
|
|
bios: ovmf
|
|
bootdisk: scsi0
|
|
cores: 1
|
|
efidisk0: local:100/vm-100-disk-1.qcow2,size=128K
|
|
hostpci0: 00:ff.1,vendor-id=0x1234,device-id=0x5678,sub-vendor-id=0x2233,sub-device-id=0x0000
|
|
hostpci1: d0:13.0,pcie=1,vendor-id=0x1234,device-id=0x5678
|
|
machine: q35
|
|
memory: 512
|
|
net0: virtio=2E:01:68:F9:9C:87,bridge=vmbr0
|
|
numa: 1
|
|
ostype: l26
|
|
scsihw: virtio-scsi-pci
|
|
smbios1: uuid=3dd750ce-d910-44d0-9493-525c0be4e687
|
|
sockets: 2
|
|
vmgenid: 54d1c06c-8f5b-440f-b5b2-6eab1380e13d
|