[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] usbdevice option and specifying a specific device



On 07/29/2013 10:18 PM, Pasi Kärkkäinen wrote:
On Mon, Jul 29, 2013 at 09:01:42PM +0100, Gordan Bobic wrote:
On 07/29/2013 08:17 PM, Gordan Bobic wrote:
I'm trying to use usbdevice option in the config file (instead of
passing USB PCI devices), and the documentation says to specify the
device in the form host:xxxx:yyyy where xxxx:yyyy is the USB
vendor:device ID.

Except there is a problem with this - I have two identical keyboards and
mice, one set of which I want to pass to the host, and the other set
which I want to pass to the guest. Since the xxxx:yyyy will be the same
for both devices of each type, how can I deterministically specify which
I want to keep on the host and which I want to pass to the guest?

Is there a way to use something like BusID:DeviceID instead in order to
provide a more deterministic outcome?

On a related note, the first device gets passed through
successfully, but the second fails with a warning in qemu-dm log:

Warning: could not add USB device host:1532:002f

My usbdevice list is:

usbdevice = [ 'host:045e:00dd', 'host:1532:002f' ]

I cannot see anything more explanator in any of the other logs -
what should I be looking for?


You forgot to mention all the needed basic info..

What Xen version? Are you using xl?

Xen 4.3, and yes, I am using xl.

Gordan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.