[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC] libxl: Introduce functions to add and remove USB devices to an HVM guest



On 10/04/13 14:49, Stefan wrote:
I've been following this thread with interest. Having USB passthrough
for xl will certainly be an appreciated feature.

Provided a USB-device structure, enabling PVUSB is almost only a matter
of writing to the xenstore. Please have a look at this script:
http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB

It's a shell script that does the work. Of course, there's also a python
implementation in the GIT. Perhaps we could at least have a USB-device
structure before the feature freeze? Can you make the code that we have
available? I'd like to see if I can do something with it, instead of
having to start from nothing.

I'm working hard to try to get "devicemodel" USB hot-plug working, and that involves getting a forward-compatible structure and everything ready to add PV as an optional protocol.

If things go as planned, then adding PVUSB support should just be a matter of:
* Adding a handler for PVUSB in libxl_usb.c:do_usb_add()
* Adding a command-line option to specify PVUSB even for HVM guests

I should have a rough draft ready for you to try to hack within 24 hours.

 -George

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