[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/7] qapi: add query-machines command
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 3/7] qapi: add query-machines command |
Date: |
Fri, 27 Jul 2012 11:25:15 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 07/27/2012 07:37 AM, Anthony Liguori wrote:
> This provides the same output as -M ? but in a structured way.
>
> Signed-off-by: Anthony Liguori <address@hidden>
> ---
> qapi-schema.json | 28 ++++++++++++++++++++++++++++
> qmp-commands.hx | 6 ++++++
> vl.c | 31 +++++++++++++++++++++++++++++++
> 3 files changed, 65 insertions(+), 0 deletions(-)
>
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 28e9914..5b47026 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @@ -2200,3 +2200,31 @@
> # Since: 0.14.0
> ##
> { 'command': 'closefd', 'data': {'fdname': 'str'} }
> +
> +##
> +# @MachineInfo:
> +#
> +# Information describing a machine.
> +#
> +# @name: the name of the machine
> +#
> +# @alias: #optional an alias for the machine name
Can a machine have more than one alias? In that case, it might be
better to have:
@name: the name of the machine
@alias-of: #optional if present, name is an alias, and this lists the
canonical form that it resolves to
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Qemu-devel] [PATCH 3/7] qapi: add query-machines command, Anthony Liguori, 2012/07/27
[Qemu-devel] [PATCH 1/7] qmp: introduce device-list-properties command, Anthony Liguori, 2012/07/27
[Qemu-devel] [PATCH 2/7] qapi: mark QOM commands stable, Anthony Liguori, 2012/07/27
[Qemu-devel] [PATCH 5/7] qapi: add query-cpudefs command, Anthony Liguori, 2012/07/27