qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command l


From: Eric Blake
Subject: Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line
Date: Thu, 29 Jan 2015 10:45:49 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 01/29/2015 09:28 AM, Dr. David Alan Gilbert wrote:
> 
> So what would the .args_type look like in qmp-commands.hx; something like 
> this?
> 
>   .args-type = "type:s,port:-i,host:-s,command:-s"

No, it would be more like the blockdev-add interface, where one command
accepts a dictionary object containing a union of valid values, where
the set of valid values is determined by the discriminator field.
.args_type = "options:q".

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