From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gordan Bobic Subject: Re: usbdevice option and specifying a specific device Date: Mon, 29 Jul 2013 22:40:36 +0100 Message-ID: <51F6E154.8070309@bobich.net> References: <51F6BFDD.8070500@bobich.net> <51F6CA26.6060000@bobich.net> <20130729211815.GY2924@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20130729211815.GY2924@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 07/29/2013 10:18 PM, Pasi K=E4rkk=E4inen 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 =3D [ '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