All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	Luiz Capitulino <lcapitulino@redhat.com>
Subject: Re: [Qemu-devel] [PATCH for-1.5] qmp: add query-drive-mirror-capabilities
Date: Wed, 24 Apr 2013 16:06:25 -0600	[thread overview]
Message-ID: <51785761.7020508@redhat.com> (raw)
In-Reply-To: <517855B3.6060604@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]

  reply	other threads:[~2013-04-24 22:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 20:36 [Qemu-devel] [PATCH for-1.5] qmp: add query-drive-mirror-capabilities Luiz Capitulino
2013-04-24 21:05 ` Eric Blake
2013-04-24 21:29   ` Luiz Capitulino
2013-04-24 21:59     ` Eric Blake
2013-04-24 22:06       ` Eric Blake [this message]
2013-04-25 12:26       ` Luiz Capitulino
2013-04-26  8:13         ` Paolo Bonzini
2013-04-26 13:40           ` Markus Armbruster
2013-04-26 13:54             ` Luiz Capitulino
2013-04-26 15:25               ` Markus Armbruster
2013-04-24 21:24 ` Paolo Bonzini
2013-04-24 21:30   ` Luiz Capitulino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51785761.7020508@redhat.com \
    --to=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.