On 12/10/2013 10:00 AM, Paolo Bonzini wrote: > These two commands invoke the "unparent" method of Object. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > ---
> +++ 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
signature.asc
Description: OpenPGP digital signature