All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel@nongnu.org, Luiz Capitulino <lcapitulino@redhat.com>
Subject: [Qemu-devel] For 1.2: Re: [PATCH] qapi: add 'query-target' command to return target arch/bit size
Date: Mon, 20 Aug 2012 09:47:25 -0600	[thread overview]
Message-ID: <50325C0D.1010108@redhat.com> (raw)
In-Reply-To: <1345473098-26299-1-git-send-email-berrange@redhat.com>

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

On 08/20/2012 08:31 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@redhat.com>
> 
> Add a 'query-target' QAPI command to allow management applications
> to determine what target architecture a QEMU binary is emulating
> without having to parse the binary name or -help output
> 
>   $ qmp-shell -p /tmp/qemu
>   (QEMU) query-target
>   {   u'return': {   u'arch': u'x86_64', u'bits': 64}}
> 
> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
> ---
>  arch_init.c      | 11 +++++++++++
>  qapi-schema.json | 25 +++++++++++++++++++++++++
>  qmp-commands.hx  |  5 +++++
>  3 files changed, 41 insertions(+)

Adding the for 1.2 marking in the subject, to make it clear that this is
a "bug fix" for the fact that Anthony's QMP additions for libvirt were
incomplete, and should be pulled in now rather than delayed to 1.3.

> +##
> +# @TargetInfo:
> +#
> +# Information describing the QEMU target.
> +#
> +# @arch: the name of the target architecture (eg "x86_64", "i686", etc)

s/eg/e.g./ (it is an abbreviation of the two-word phrase exempli gratia)

Or even better, since mixing 'e.g.' and 'etc.' in the same sentence
sounds stupid, just go with the much simpler:

@arch: the name of the target architecture (such as "x86_64" or "i686")

> +# @bits: number of bits in physical address (eg 32 or 64)

Ditto.

-- 
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: 620 bytes --]

  reply	other threads:[~2012-08-20 15:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20 14:31 [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size Daniel P. Berrange
2012-08-20 15:47 ` Eric Blake [this message]
2012-08-20 19:02 ` Luiz Capitulino
2012-08-21 10:07   ` Daniel P. Berrange
2012-08-21 12:53     ` Luiz Capitulino
2012-08-21 13:07       ` Daniel P. Berrange
2012-08-22 13:20         ` Anthony Liguori
2012-08-20 21:48 ` Anthony Liguori
2012-08-21 10:05   ` Daniel P. Berrange
2012-08-21 10:17     ` Peter Maydell
2012-08-21 10:24       ` Daniel P. Berrange
2012-08-21 13:21     ` Anthony Liguori

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=50325C0D.1010108@redhat.com \
    --to=eblake@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=berrange@redhat.com \
    --cc=lcapitulino@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.