[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return targ
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] qapi: add 'query-target' command to return target arch/bit size (v2) |
Date: |
Wed, 22 Aug 2012 09:44:58 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 08/22/2012 09:09 AM, Anthony Liguori wrote:
> From: "Daniel P. Berrange" <address@hidden>
>
> 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' }}
>
> Signed-off-by: Daniel P. Berrange <address@hidden>
> Signed-off-by: Anthony Liguori <address@hidden>
> ---
> +
> +##
> +# @TargetInfo:
> +#
> +# Information describing the QEMU target.
> +#
> +# @arch: the target architecture (eg "x86_64", "i386", etc)
Missed my v1 comment that 'eg' is misspelled (would be 'e.g.'), and with
my recommendation for an alternate wording:
@arch: the target architecture (such as "x86_64" or "i686")
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature