From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [PATCH V8 5/7] xl: add pvusb commands Date: Tue, 27 Oct 2015 12:37:07 +0100 Message-ID: <562F61E3.3080805@suse.com> References: <1445418510-19614-1-git-send-email-cyliu@suse.com> <1445418510-19614-6-git-send-email-cyliu@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1445418510-19614-6-git-send-email-cyliu@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chunyan Liu , xen-devel@lists.xen.org Cc: wei.liu2@citrix.com, ian.campbell@citrix.com, george.dunlap@eu.citrix.com, Ian.Jackson@eu.citrix.com, jfehlig@suse.com, Simon Cao List-Id: xen-devel@lists.xenproject.org On 10/21/2015 11:08 AM, Chunyan Liu wrote: > Add pvusb commands: usbctrl-attach, usbctrl-detach, usb-list, > usb-attach and usb-detach. > > To attach a usb device to guest through pvusb, one could follow > following example: > > #xl usbctrl-attach test_vm version=1 ports=8 > > #xl usb-list test_vm > will show the usb controllers and port usage under the domain. > > #xl usbattach test_vm hostbus=1 hostaddr=2 > will find the first usable controller:port, and attach usb > device whose busnum is 1 and devnum is 6. > One could also specify which and which . > > #xl usb-detach test_vm 0 1 > will detach USB device under controller 0 port 1. > > #xl usbctrl-detach test_vm dev_id > will destroy the controller with specified dev_id. Dev_id > can be traced in usb-list info. > > Signed-off-by: Chunyan Liu > Signed-off-by: Simon Cao Acked-by: Juergen Gross juergen