qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] monitor: introduce query-config-schema


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] monitor: introduce query-config-schema
Date: Mon, 22 Apr 2013 14:07:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 22/04/2013 13:48, Amos Kong ha scritto:
>>> > > Libvirt doesn't have a stable way to know option support
>>> > > detail. This patch introdued a new qmp command to query
>>> > > configuration schema information. hmp command isn't added.
>> > 
>> > Can you introspect QemuOpts instead?  All new options are added there.
> 
> It would be exact to use QemuOpts. I tried to output the vm_config_groups[]
> in qemu-config.c, but it seems not enough. (desc list of -netdev, -drive,
> -device are all empty)

That's expected because they are parsed otherwise, depending on the
backend type.  -chardev is currently working but it's an implementation
detail.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]