On 24/03/16 21:07, Wei Liu wrote: > On Fri, Mar 18, 2016 at 09:24:26AM +0100, Juergen Gross wrote: >> On 17/03/16 17:55, George Dunlap wrote: >>> On Thu, Mar 10, 2016 at 3:00 PM, Juergen Gross <jgr...@suse.com> wrote: >>>> Add a new pvusb backend type "qusb" which is provided by qemu. It can >>>> be selected either by specifying the type directly in the configuration >>>> or it is selected automatically by libxl in case there is no "usbback" >>>> driver loaded. >>>> >>>> Signed-off-by: Juergen Gross <jgr...@suse.com> >>> >>> Oh, last thing -- shouldn't we have a way for libxl to tell whether >>> qemu can provide a qusb backend before we offer to start it up? >> >> How? Is this possible for qdisk? Or for an emulated frame buffer? >> > > I don't think it is possible at the moment. But I think you might be > able to do it either via qmp command or parsing qemu help string. The > latter functionality is implemented in Ian's device model deprivilege > patch series IIRC -- but it is not yet merged either.
Won't help for qusb, as there is no qemu parameter or help text related to the backend. It would be possible to add a qmp command to print the supported backend types, of course. Juergen _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel