qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-1.5] qmp: add query-drive-mirror-capabilitie


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH for-1.5] qmp: add query-drive-mirror-capabilities
Date: Wed, 24 Apr 2013 16:06:25 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

On 04/24/2013 03:59 PM, Eric Blake wrote:
> With full-blown command introspection, we would want to be asking for a
> JSON representation more details about each parameter, in a struct that
> looks something like { 'name':'str', 'type':'<enumOfTypes>',
> 'optional':'boolean', '*default':'<typesafe way of representing the
> default of any boolean option>', '*documentation':'str' }.  If we don't

s/boolean option/optional parameter/

> provide filtering, then this JSON output might be quite large, because
> it covers all QMP commands,
> 

Whatever we do for full-blown introspection will probably end up quite
similar to what we do for command-line introspection; for those
following along (bikeshedding on the naming is still happening, but the
idea of a struct per command-line option is pretty much agreed on):
https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg04929.html

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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