[libvirt] [PATCH 3/5] query-command-line-options: query all the options in qemu-options.hx
Eric Blake
eblake at redhat.com
Wed Feb 12 20:39:56 UTC 2014
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/
>
> 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.
>
> 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/
>
> Signed-off-by: Amos Kong <akong at redhat.com>
> ---
> util/qemu-config.c | 41 +++++++++++++++++++++++++++++++++++------
> 1 file changed, 35 insertions(+), 6 deletions(-)
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140212/465baa6a/attachment-0001.sig>
More information about the libvir-list
mailing list