Categories
Linux Mastering Development

KVM and USB devices attachments

I have not so nice problem with USB devices connection to my VM machine. My situation. I’m using libvirt for my machines management. I have two identical USB network adapters. I want to connect one of these nics to my VM with attach command. So in my situation Product and Vendor ids will not help as they are the same of the both usb devices and its not enough to specify only these things. Ok, so there is another thing when I can use address clause (in the xml) to specify bus number and device number. But there goes another problem – device number gets incremented after each usb device reconnection and possibly will change after host reboot. So what are my options then? Was not able to find out any solution on the internet:(

Leave a Reply

Your email address will not be published. Required fields are marked *