I'm trying to spoof device-id of my radeon 550 gpu which I pass throug to a vm. What I'm doing is this:
from the args line in vm config, monitor gets alive.
How to fix this?
Thank you, Dmitry
- I'm adding a pci device related to my gpu to passthrogh in proxmox vm config web interface. It adds this line to a vm config file
Code:
hostpci0: 0000:02:00.0,pcie=1,x-vga=1
- I start vm and check the passthrough is working
- I run this command in proxmox shell and select a line related to my device
Code:
qm showcmd 103 --pretty|grep device
- I add new device-id in the end of this line
- I add thу resulting line to the end of args line in vm config file located in /etc/pve/qemu-server/
Code:
-device 'vfio-pci,host=0000:02:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0,x-pci-device-id=0x67ff'
- I remove hostpci0: 0000:02:00.0,pcie=1,x-vga=1 line from vm config file
Code:
,x-pci-device-id=0x67ff
How to fix this?
Thank you, Dmitry