From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [Patch RFC 1/4] usb: support device specification via - Date: Fri, 17 Jul 2015 10:28:33 +0200 Message-ID: <1437121713.3689.16.camel@redhat.com> References: <1437061658-11769-1-git-send-email-jgross@suse.com> <1437061658-11769-2-git-send-email-jgross@suse.com> <1437116387.3689.8.camel@redhat.com> <55A8AF9D.6050202@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55A8AF9D.6050202@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Juergen Gross Cc: xen-devel@lists.xensource.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Fr, 2015-07-17 at 09:32 +0200, Juergen Gross wrote: > On 07/17/2015 08:59 AM, Gerd Hoffmann wrote: > > On Do, 2015-07-16 at 17:47 +0200, Juergen Gross wrote: > >> Today a host usb device can be specified either via : > >> or via . syntax. Add the possibility to specify it via > >> - as this is needed for the support of xen pvusb backend. > > > > -device usb-host,hostbus=,hostport= should already do what > > you want. > > The problem is I have to add the device while qemu is already running, > so I'm using usb_host_device_open(). To be able to specify the device > via - I have to add the capability to find the device by > those parameters. > > I haven't found another way to achieve this. device_add monitor command. cheers, Gerd