qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 5/5] monitor: add object-del (QMP) and object_de


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 5/5] monitor: add object-del (QMP) and object_del (HMP) command
Date: Tue, 10 Dec 2013 11:01:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 12/10/2013 10:00 AM, Paolo Bonzini wrote:
> These two commands invoke the "unparent" method of Object.
> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---

> +++ b/qapi-schema.json
> @@ -2779,6 +2779,20 @@
>    'gen': 'no' }
>  
>  ##
> +# @object_del:

object-del, to match your commit message

> +#
> +# Remove a QOM object.
> +#
> +# @id: the name of the QOM object to remove
> +#
> +# Returns: Nothing on success
> +#          Error if @id is not a valid id for a QOM object
> +#
> +# Since: 2.0
> +##
> +{ 'command': 'object_del', 'data': {'id': 'str'} }

again, object-del

> +
> +-> { "execute": "object-del", "arguments": { "id": "rng1" } }
> +<- { "return": {} }

and fixing the json will make your example correct :)

-- 
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]