Re: [Qemu-devel] [RFC] Add serial number to usbdevice when passthrough to VM

2013-01-17 Thread Gerd Hoffmann
Hi, > But as the backinfo's request, should we extented the usbdevice parameter > like: > > --usbdevice host:[:[:]? -usbdevice is legacy syntax and isn't going to be extended. Adding an "serial" property to usb-host is an option though. Patches are welcome. cheers, Gerd

Re: [Qemu-devel] [RFC] Add serial number to usbdevice when passthrough to VM

2013-01-16 Thread Lei Li
On 01/16/2013 03:56 PM, Gerd Hoffmann wrote: On 01/16/13 08:18, Lei Li wrote: Hi guys, Currently we can passthrough the host USB device to the virtual machine. This is done like: –usbdevice host:1234:5678, where 1234 is vendor id, 5678 is product id. But there is a problem. If there are two

Re: [Qemu-devel] [RFC] Add serial number to usbdevice when passthrough to VM

2013-01-15 Thread Gerd Hoffmann
On 01/16/13 08:18, Lei Li wrote: > Hi guys, > > Currently we can passthrough the host USB device to the virtual > machine. This is done like: > > –usbdevice host:1234:5678, where 1234 is vendor id, 5678 is product > id. > > But there is a problem. If there are two identical USB devices, > where

[Qemu-devel] [RFC] Add serial number to usbdevice when passthrough to VM

2013-01-15 Thread Lei Li
Hi guys, Currently we can passthrough the host USB device to the virtual machine. This is done like: –usbdevice host:1234:5678, where 1234 is vendor id, 5678 is product id. But there is a problem. If there are two identical USB devices, where the vendor id and the product id is the same. It's