Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-09-02 Thread Li Zhang
On Sun, Sep 2, 2012 at 10:45 PM, Alexander Graf wrote: > > > On 02.09.2012, at 09:50, Li Zhang wrote: > >> On Tue, Aug 28, 2012 at 2:08 AM, Blue Swirl wrote: >>> On Mon, Aug 27, 2012 at 1:59 AM, Alexander Graf wrote: On 26.08.2012, at 10:34, Blue Swirl wrote: > On Sat,

Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-09-02 Thread Alexander Graf
On 02.09.2012, at 09:50, Li Zhang wrote: > On Tue, Aug 28, 2012 at 2:08 AM, Blue Swirl wrote: >> On Mon, Aug 27, 2012 at 1:59 AM, Alexander Graf wrote: >>> >>> >>> On 26.08.2012, at 10:34, Blue Swirl wrote: >>> On Sat, Aug 25, 2012 at 2:27 PM, Alexander Graf wrote: > > >>>

Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-09-02 Thread Li Zhang
On Tue, Aug 28, 2012 at 2:08 AM, Blue Swirl wrote: > On Mon, Aug 27, 2012 at 1:59 AM, Alexander Graf wrote: >> >> >> On 26.08.2012, at 10:34, Blue Swirl wrote: >> >>> On Sat, Aug 25, 2012 at 2:27 PM, Alexander Graf wrote: On 25.08.2012, at 00:43, Blue Swirl wrote: > On

Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-09-02 Thread Li Zhang
On Sat, Aug 25, 2012 at 3:43 PM, Blue Swirl wrote: > On Wed, Aug 22, 2012 at 10:31 AM, Li Zhang wrote: >> When -usb option is used, global varible usb_enabled is set. >> And all the plafrom will create one USB controller according >> to this variable. In fact, global varibles make code hard >> to

Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-08-27 Thread Blue Swirl
On Mon, Aug 27, 2012 at 1:59 AM, Alexander Graf wrote: > > > On 26.08.2012, at 10:34, Blue Swirl wrote: > >> On Sat, Aug 25, 2012 at 2:27 PM, Alexander Graf wrote: >>> >>> >>> On 25.08.2012, at 00:43, Blue Swirl wrote: >>> On Wed, Aug 22, 2012 at 10:31 AM, Li Zhang wrote: > When -usb

Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-08-26 Thread Alexander Graf
On 26.08.2012, at 10:34, Blue Swirl wrote: > On Sat, Aug 25, 2012 at 2:27 PM, Alexander Graf wrote: >> >> >> On 25.08.2012, at 00:43, Blue Swirl wrote: >> >>> On Wed, Aug 22, 2012 at 10:31 AM, Li Zhang wrote: When -usb option is used, global varible usb_enabled is set. And all t

Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-08-26 Thread Blue Swirl
On Sat, Aug 25, 2012 at 2:27 PM, Alexander Graf wrote: > > > On 25.08.2012, at 00:43, Blue Swirl wrote: > >> On Wed, Aug 22, 2012 at 10:31 AM, Li Zhang wrote: >>> When -usb option is used, global varible usb_enabled is set. >>> And all the plafrom will create one USB controller according >>> to

Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-08-25 Thread Alexander Graf
On 25.08.2012, at 00:43, Blue Swirl wrote: > On Wed, Aug 22, 2012 at 10:31 AM, Li Zhang wrote: >> When -usb option is used, global varible usb_enabled is set. >> And all the plafrom will create one USB controller according >> to this variable. In fact, global varibles make code hard >> to read

Re: [Qemu-devel] [Qemu-ppc] [PATCH v9 1/1] Add USB option in machine options

2012-08-25 Thread Blue Swirl
On Wed, Aug 22, 2012 at 10:31 AM, Li Zhang wrote: > When -usb option is used, global varible usb_enabled is set. > And all the plafrom will create one USB controller according > to this variable. In fact, global varibles make code hard > to read. > > So this patch is to remove global variable usb_

[Qemu-devel] [Qemu-ppc][PATCH v9 1/1] Add USB option in machine options

2012-08-22 Thread Li Zhang
When -usb option is used, global varible usb_enabled is set. And all the plafrom will create one USB controller according to this variable. In fact, global varibles make code hard to read. So this patch is to remove global variable usb_enabled and add USB option in machine options. All the plaform