On 06/05/2014 06:22 AM, Wenchao Xia wrote:
> Signed-off-by: Wenchao Xia <wenchaoq...@gmail.com>
> ---
>  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