[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 12:23 PM, Gerd Hoffmann wrote:
   Hi,

device_add monitor command.

Okay. I guess the USBDevice for the added device can be obtained
in USBPortOps->attach via USBPort->dev ?

Yes.

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?

qdev_device_add() should do it, yes.
Why do you need to call this from inside qemu?
Watching on xenbus and responding to new devices created there?

Exactly.


Juergen


_______________________________________________
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®.