Re: [libvirt] [PATCH v4 1/2] Add USB option capability

2013-04-14 Thread Li Zhang
On 2013年04月12日 18:06, Daniel P. Berrange wrote: On Fri, Apr 12, 2013 at 01:56:31PM +0800, Li Zhang wrote: On 2013年04月11日 17:30, Daniel P. Berrange wrote: On Sun, Apr 07, 2013 at 04:31:57PM +0800, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com To avoid the collision for creating

Re: [libvirt] [PATCH v4 1/2] Add USB option capability

2013-04-12 Thread Daniel P. Berrange
On Fri, Apr 12, 2013 at 01:56:31PM +0800, Li Zhang wrote: On 2013年04月11日 17:30, Daniel P. Berrange wrote: On Sun, Apr 07, 2013 at 04:31:57PM +0800, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com To avoid the collision for creating USB controllers in machine-init() and -device xx

Re: [libvirt] [PATCH v4 1/2] Add USB option capability

2013-04-11 Thread Daniel P. Berrange
On Sun, Apr 07, 2013 at 04:31:57PM +0800, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com To avoid the collision for creating USB controllers in machine-init() and -device xx command line, it needs to set usb=off to avoid one USB controller created in machine-init(). So that

Re: [libvirt] [PATCH v4 1/2] Add USB option capability

2013-04-11 Thread Li Zhang
On 2013年04月11日 17:30, Daniel P. Berrange wrote: On Sun, Apr 07, 2013 at 04:31:57PM +0800, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com To avoid the collision for creating USB controllers in machine-init() and -device xx command line, it needs to set usb=off to avoid one USB

Re: [libvirt] [PATCH v4 1/2] Add USB option capability

2013-04-09 Thread Li Zhang
Hi Daniel, Would you help review this ? I have added the test case in [PTACH v4 2/2]. Thanks. :) On 2013年04月07日 16:31, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com To avoid the collision for creating USB controllers in machine-init() and -device xx command line, it needs to set

[libvirt] [PATCH v4 1/2] Add USB option capability

2013-04-07 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com To avoid the collision for creating USB controllers in machine-init() and -device xx command line, it needs to set usb=off to avoid one USB controller created in machine-init(). So that libvirt can use -device or -usb to create USB controller