qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V6 11/29] qapi event: convert STOP


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH V6 11/29] qapi event: convert STOP
Date: Fri, 13 Jun 2014 14:29:39 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 06/05/2014 06:22 AM, Wenchao Xia wrote:
> Signed-off-by: Wenchao Xia <address@hidden>
> ---
>  cpus.c                  |    5 +++--
>  docs/qmp/qmp-events.txt |   12 ------------
>  qapi-event.json         |    9 +++++++++
>  3 files changed, 12 insertions(+), 14 deletions(-)
> 

> @@ -530,7 +531,7 @@ static int do_vm_stop(RunState state)
>          pause_all_vcpus();
>          runstate_set(state);
>          vm_state_notify(0, state);
> -        monitor_protocol_event(QEVENT_STOP, NULL);
> +        qapi_event_send_stop(NULL);

Same comments from earlier about not needing errp argument

> +++ b/qapi-event.json
> @@ -29,3 +29,12 @@
>  # Since: 2.1
>  ##
>  { 'event': 'RESET' }
> +
> +##
> +# @STOP
> +#
> +# Emitted when the virtual machine is stopped
> +#
> +# Since: 2.1

0.14.0

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