On 10/08/2013 08:37 PM, Mark Wu wrote:
> Now we have several qemu-ga commands not returning response on success.
> It has been documented in qga/qapi-schema.json already. This patch exposes
> the 'success-response' flag by extending 'guest-info' command. With this
> change, the clients can handle the command response more flexibly.
> 
> Signed-off-by: Mark Wu <wu...@linux.vnet.ibm.com>
> ---
> v5:
>     Fix a tab indent and rebase 
> v4: 
>     Add signature of qmp_has_success_response per Michael.
> v3: 
>       1. treat cmd->options as a bitmask instead of single option (per Eric) 
>       2. rebase on the patch " Add interface to traverse the qmp command list
>     by QmpCommand" to avoid the O(n2) problem (per Eric and Michael)
> v2: 
>     add the notation 'since 1.7' to the option 'success-response'
>     (per Eric Blake's comments)
> 
>  include/qapi/qmp/dispatch.h | 1 +
>  qapi/qmp-registry.c         | 5 +++++
>  qga/commands.c              | 1 +
>  qga/qapi-schema.json        | 5 ++++-
>  4 files changed, 11 insertions(+), 1 deletion(-)

Reviewed-by: Eric Blake <ebl...@redhat.com>

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