Re: [Xen-devel] [PATCH V4 5/7] xl: add pvusb commands

2015-06-12 Thread Juergen Gross
On 06/12/2015 10:03 AM, Chun Yan Liu wrote: On 6/12/2015 at 03:37 PM, in message <557a8c57.1040...@suse.com>, Juergen Gross wrote: On 06/10/2015 05:20 AM, Chunyan Liu wrote: ... +} else if (MATCH_OPTION("ports", argv[optind], oparg)) { +usbctrl.ports = atoi(oparg);

Re: [Xen-devel] [PATCH V4 5/7] xl: add pvusb commands

2015-06-12 Thread Chun Yan Liu
>>> On 6/12/2015 at 03:37 PM, in message <557a8c57.1040...@suse.com>, Juergen >>> Gross wrote: > On 06/10/2015 05:20 AM, Chunyan Liu wrote: > > Add pvusb commands: usb-ctrl-attach, usb-ctrl-detach, usb-list, > > usb-attach and usb-detach. > > > > To attach a usb device to guest through pvu

Re: [Xen-devel] [PATCH V4 5/7] xl: add pvusb commands

2015-06-12 Thread Juergen Gross
On 06/10/2015 05:20 AM, Chunyan Liu wrote: Add pvusb commands: usb-ctrl-attach, usb-ctrl-detach, usb-list, usb-attach and usb-detach. To attach a usb device to guest through pvusb, one could follow following example: #xl usb-ctrl-attach test_vm version=1 num_ports=8 #xl usb-list test_vm

[Xen-devel] [PATCH V4 5/7] xl: add pvusb commands

2015-06-09 Thread Chunyan Liu
Add pvusb commands: usb-ctrl-attach, usb-ctrl-detach, usb-list, usb-attach and usb-detach. To attach a usb device to guest through pvusb, one could follow following example: #xl usb-ctrl-attach test_vm version=1 num_ports=8 #xl usb-list test_vm will show the usb controllers and port usage und