[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enab
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb |
Date: |
Fri, 15 Jun 2012 14:30:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0 |
Am 15.06.2012 12:06, schrieb Li Zhang:
> For pseries machine, it needs to enable usb to add
> keyboard or usb mouse. -usb option won't be used in
> the future, and machine options is a better way to
> enable usb.
>
> So this patch is to add usb option to machine options
> (-machine type=psereis,usb=on/off)to enable/disable
> usb controller.
>
> In this patch, usb_on is an global option which can
> be checked by machines.
[snip]
...which is exactly what you've been asked to change in v1. Please do.
Also please stick to QEMU Coding Style, which requires braces for if.
Use of the bool type is preferred of int for two-state logic.
Regards,
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Li Zhang, 2012/06/15
- Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Markus Armbruster, 2012/06/15
- Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Li Zhang, 2012/06/15
- Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Markus Armbruster, 2012/06/15
- Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Li Zhang, 2012/06/17
- Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Markus Armbruster, 2012/06/18
- Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Peter Crosthwaite, 2012/06/18
- Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Li Zhang, 2012/06/18
- Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb, Li Zhang, 2012/06/18
Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb,
Andreas Färber <=