From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfVfe-0004k7-MB for qemu-devel@nongnu.org; Fri, 15 Jun 2012 08:30:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfVfY-00066U-GY for qemu-devel@nongnu.org; Fri, 15 Jun 2012 08:30:34 -0400 Message-ID: <4FDB2ADD.9050503@suse.de> Date: Fri, 15 Jun 2012 14:30:21 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1339754783-14341-1-git-send-email-zhlcindy@linux.vnet.ibm.com> In-Reply-To: <1339754783-14341-1-git-send-email-zhlcindy@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCHv2 1/1] Add usb option in machine options to enable/disable usb List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Li Zhang Cc: aliguori@us.ibm.com, benh@au1.ibm.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org 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. >=20 > So this patch is to add usb option to machine options > (-machine type=3Dpsereis,usb=3Don/off)to enable/disable > usb controller. >=20 > 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 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg