xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Gordan Bobic <gordan@bobich.net>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: usbdevice option and specifying a specific device
Date: Mon, 29 Jul 2013 22:40:36 +0100	[thread overview]
Message-ID: <51F6E154.8070309@bobich.net> (raw)
In-Reply-To: <20130729211815.GY2924@reaktio.net>

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

  reply	other threads:[~2013-07-29 21:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29 19:17 usbdevice option and specifying a specific device Gordan Bobic
2013-07-29 20:01 ` Gordan Bobic
2013-07-29 21:18   ` Pasi Kärkkäinen
2013-07-29 21:40     ` Gordan Bobic [this message]
2013-07-30  8:23 ` Ian Campbell
2013-07-31  8:25   ` George Dunlap
2013-07-31 10:12     ` Ian Campbell
2013-08-05 11:24       ` George Dunlap
2013-08-05 11:27         ` Gordan Bobic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F6E154.8070309@bobich.net \
    --to=gordan@bobich.net \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).