PCI passthrough issue

kifeo

Well-Known Member
Oct 28, 2019
112
12
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) ?
 
Thanks @dcsapak , here is in attachment the requested outputs.
note that the current usb device is spice, as I cannot set the correct one
 

Attachments

  • proxmox-support.txt
    3.6 KB · Views: 1
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)
 
Thanks for the help @dcsapak , I thought I tried it when it was shut down, but apparently not.

It works now.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!