From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDgbF-0001yh-Iz for qemu-devel@nongnu.org; Wed, 12 Feb 2014 15:40:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDgbA-0005i5-Mz for qemu-devel@nongnu.org; Wed, 12 Feb 2014 15:40:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDgbA-0005hy-DM for qemu-devel@nongnu.org; Wed, 12 Feb 2014 15:40:00 -0500 Message-ID: <52FBDC1C.3070300@redhat.com> Date: Wed, 12 Feb 2014 13:39:56 -0700 From: Eric Blake MIME-Version: 1.0 References: <1390881230-14033-1-git-send-email-akong@redhat.com> <1390881230-14033-4-git-send-email-akong@redhat.com> In-Reply-To: <1390881230-14033-4-git-send-email-akong@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dw7E2fWuNa8CEKleRaDpR1X0pjQJ4J1c4" Subject: Re: [Qemu-devel] [PATCH 3/5] query-command-line-options: query all the options in qemu-options.hx List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong , qemu-devel@nongnu.org Cc: jyang@redhat.com, laine@redhat.com, libvir-list@redhat.com, armbru@redhat.com, rjones@redhat.com, anthony@codemonkey.ws, pbonzini@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dw7E2fWuNa8CEKleRaDpR1X0pjQJ4J1c4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/27/2014 08:53 PM, Amos Kong wrote: > vm_config_groups[] contain the options which have parameter, but some > legcy options haven't been added to vm_config_groups[]. s/legcy/legacy/ >=20 > All the options can be found in qemu-options.hx, this patch used two > new marcos to generate two tables, we can check if the option name is s/marcos/macros/ > valid and if the option has arguments. >=20 > This patch also try to visit all the options in option_names[], then > we won't lost the legacy options that weren't added to vm_config_groups= []. s/lost/lose/ > The options have no arguments will also be returned (eg: -enable-fips) s/options/options that/ >=20 > Signed-off-by: Amos Kong > --- > util/qemu-config.c | 41 +++++++++++++++++++++++++++++++++++------ > 1 file changed, 35 insertions(+), 6 deletions(-) >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --dw7E2fWuNa8CEKleRaDpR1X0pjQJ4J1c4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJS+9wcAAoJEKeha0olJ0NqBWYH/2dUFfdKmOQVzKLbtAE82p/u EiVJEaYeGbn4dgIgNpLfwLXLJNxSnMTbad5hPVI7yz6AQfkUOjuvhVTsDsK9LYVr CZ8MCOD5TMqomYzwV2WRyPQ9uiE11LbZDG/INf2xiSMq3K7BrtJJzkCZBY17aG1/ kov5KQ1KFJPg7RePLun7TMlg6px5CMkS8718+xTq9IEevFIoivSLdU7ZLDS03/eT Y3U726fxR1kCZwu/mWnSEBI2LO0pa6jiQ4lIGjHLc1Ht4XlObL1jijVMfcnQ2zMx yBzg5VwY4grvwNvSARgi2M6enymUZPjZDBY4eEFLaB/UZCLw6kwOs/nbLs3J/lE= =QfaQ -----END PGP SIGNATURE----- --dw7E2fWuNa8CEKleRaDpR1X0pjQJ4J1c4--