[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Patch RFC 1/4] usb: support device specification via <bus>-<port>
On 07/17/2015 10:28 AM, Gerd Hoffmann wrote: 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 <vendor>:<product> or via <bus>.<device> syntax. Add the possibility to specify it via <bus>-<port> as this is needed for the support of xen pvusb backend.-device usb-host,hostbus=<bus>,hostport=<port> 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 <bus>-<port> 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. Okay. I guess the USBDevice for the added device can be obtained in USBPortOps->attach via USBPort->dev ? Doing a quick search through the sources I couldn't find a way to issue a monitor command from inside qemu. I assume I'd have to use do_device_add() directly? Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |