From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvyJr-0005Zk-6E for qemu-devel@nongnu.org; Mon, 20 Apr 2009 14:34:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvyJm-0005ZV-Jv for qemu-devel@nongnu.org; Mon, 20 Apr 2009 14:34:14 -0400 Received: from [199.232.76.173] (port=45336 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvyJm-0005ZS-Dk for qemu-devel@nongnu.org; Mon, 20 Apr 2009 14:34:10 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:48847) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvyJl-0003T0-Qa for qemu-devel@nongnu.org; Mon, 20 Apr 2009 14:34:10 -0400 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id 77423FAD213A for ; Mon, 20 Apr 2009 20:34:08 +0200 (CEST) Received: from [87.230.10.181] (helo=[139.25.109.167]) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1LvyJj-0002ar-00 for qemu-devel@nongnu.org; Mon, 20 Apr 2009 20:34:07 +0200 Message-ID: <49ECC01E.80605@web.de> Date: Mon, 20 Apr 2009 20:34:06 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <49ECAB4A.2090106@siemens.com> <49ECB940.5060100@codemonkey.ws> In-Reply-To: <49ECB940.5060100@codemonkey.ws> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA6976140720C910BF4229C1A" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH 1/2] Rework -boot option Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA6976140720C910BF4229C1A Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Anthony Liguori wrote: > Jan Kiszka wrote: >> This patch changes the boot command line option to the canonical forma= t >> >> -boot [order=3Ddrives][,interactive=3Don|off] >> >> where 'drives' is using the same format as the old -boot. The new form= at >> is required in order to add the 'interactive' option and use the >> existing infrastructure to parse it. >> >> The state of 'interactive' is transfered to the firmware via the new >> configuration value FW_CFG_BOOT_INTERACTIVE. >> >> Signed-off-by: Jan Kiszka >> =20 >=20 > This breaks compatibility with existing management tools. Can't we do:= >=20 > -boot [order=3D]drives[,interactive=3Don|off] >=20 > Certainly, -drive introduces a precedence for this type of format. Everything is possible, but comes with a price: - more complex code - more ugly and inconsistent user interface Is there no precedence for breaking the command line interface in order to clean things up? An alternative could be to keep -boot as is, at least for the next few major releases, and introduce a new option with the proposed format. Not much simpler, but a bit. And comes with the chance to drop the legacy at some point. Any naming suggestions welcome! Jan --------------enigA6976140720C910BF4229C1A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAknswB8ACgkQniDOoMHTA+lUpQCeJdkba5MRXczs+Nu9bvJYs7fn QikAnR0AwwuzMHQUrQ2omeRfIsz0/71q =pkoM -----END PGP SIGNATURE----- --------------enigA6976140720C910BF4229C1A--