PCI passthrough issue

kifeo

Well-Known Member
Oct 28, 2019
112
13
58
Hi !

I have a usb device that I would like to attach to a VM.
It was working previously, but now the pci passthrough does not work with the message :
"Parameter verification failed. (400)

usb1: hotplug problem - VM 102 qmp command 'device_add' failed - usb port 2 (bus xhci.0) not found (in use?)"

And in case I use the USB port attachment I have this message :
"checksum missmatch (file change by other user?) (500)"

Do you have an idea on how to resolve this ?

Thanks !
 
Hi,

can you post the version (pveversion -v), the config (qm config ID) and the pending config (qm pending ID) ?
 
mhmm what happens when you shutdown the vm and then add it, does that work?

i can only see a single usb port (spice) that is configured/pending

maybe that spice port blocks the addition?

also can you try to set it on the cli?

Code:
qm set ID --usb0 <your usb device port/vendor/id>

(see man qm.conf for a detailed explanation of the usbX config format)