From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra120-00052I-Fo for qemu-devel@nongnu.org; Mon, 12 Dec 2011 03:14:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra11z-0001zK-Cp for qemu-devel@nongnu.org; Mon, 12 Dec 2011 03:14:40 -0500 Received: from ozlabs.org ([203.10.76.45]:51128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra11y-0001yy-RB for qemu-devel@nongnu.org; Mon, 12 Dec 2011 03:14:39 -0500 Message-ID: <1323677680.3070.43.camel@concordia> From: Michael Ellerman Date: Mon, 12 Dec 2011 19:14:40 +1100 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-8sH0ULGaO2uD/tQp1l1C" Mime-Version: 1.0 Subject: [Qemu-devel] RFC: Only display help options that are accepted by the architecture Reply-To: michael@ellerman.id.au List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=-8sH0ULGaO2uD/tQp1l1C Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, As the subject says, this is an RFC. I have a few patches (to follow), that change the help output from QEMU so that we only display options that are accepted by the arch of the running binary. So for example qemu-system-ppc64 will not tell you about i386 options like -no-acpi, -no-hpet etc. We already have almost all the information we need, it just requires actually filtering the options as we print them in the help text - and some related cruft, see the patches for details. I'd argue it's generally a sane change, but it also has the benefit that it makes libvirt's life easier. For better or worse libvirt parses the output of qemu -h to see what options are supported. At the moment that is problematic because the ppc64 emulator claims to support -no-acpi etc. So with this change libvirt could more reliably determine what is supported. cheers --=-8sH0ULGaO2uD/tQp1l1C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk7lt/AACgkQdSjSd0sB4dLUOACeMQW2LQgUBFYSstT60cj3u0QL mAgAniDq8c7LgQPNhur5hG3j6686P0TR =L8Kx -----END PGP SIGNATURE----- --=-8sH0ULGaO2uD/tQp1l1C--