From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNXNU-0002AQ-Lk for qemu-devel@nongnu.org; Mon, 16 Feb 2015 20:55:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNXNP-0001T0-O2 for qemu-devel@nongnu.org; Mon, 16 Feb 2015 20:55:08 -0500 Received: from mail-qg0-x22d.google.com ([2607:f8b0:400d:c04::22d]:51908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNXNP-0001Sb-Iv for qemu-devel@nongnu.org; Mon, 16 Feb 2015 20:55:03 -0500 Received: by mail-qg0-f45.google.com with SMTP id h3so26066733qgf.4 for ; Mon, 16 Feb 2015 17:55:03 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Mon, 16 Feb 2015 20:55:00 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150216100821.GA4079@noname.str.redhat.com> <4A70459E-56F8-4360-A795-D9ABED95324D@gmail.com> <20150216154254.GJ4079@noname.str.redhat.com> <68212781-7178-495D-9AFF-5634798387D7@gmail.com> <20150216162234.GK4079@noname.str.redhat.com> Subject: Re: [Qemu-devel] [PATCH v3] ui/cocoa.m: Machine menu patch for Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Kevin Wolf , qemu-devel qemu-devel On Feb 16, 2015, at 6:41 PM, Peter Maydell wrote: > On 17 February 2015 at 01:22, Kevin Wolf wrote: >> You could still apply some translation table to the menu entry = string, >> like: >>=20 >> floppy0 =3D> Floppy drive A >> floppy1 =3D> Floppy drive B >> ide0-cd0 =3D> IDE CD-ROM (Primary Master) >> ide0-cd1 =3D> IDE CD-ROM (Primary Slave) >> ide1-cd0 =3D> IDE CD-ROM (Secondary Master) >> ide1-cd1 =3D> IDE CD-ROM (Secondary Slave) >=20 > It would be nice if every UI frontend didn't have to duplicate > this code... I told Kevin that the type field in the BlockInfo structure = (qapi-types.h) looks unused. That could be used to store the above data.=20=