[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
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH V6 07/29] qapi: add new schema file qapi-event.json, (continued)
- [Qemu-devel] [PATCH V6 07/29] qapi: add new schema file qapi-event.json, Wenchao Xia, 2014/06/05
- [Qemu-devel] [PATCH V6 08/29] qapi event: convert SHUTDOWN, Wenchao Xia, 2014/06/05
- [Qemu-devel] [PATCH V6 09/29] qapi event: convert POWERDOWN, Wenchao Xia, 2014/06/05
- [Qemu-devel] [PATCH V6 10/29] qapi event: convert RESET, Wenchao Xia, 2014/06/05
- [Qemu-devel] [PATCH V6 11/29] qapi event: convert STOP, Wenchao Xia, 2014/06/05
- Re: [Qemu-devel] [PATCH V6 11/29] qapi event: convert STOP,
Eric Blake <=
- [Qemu-devel] [PATCH V6 12/29] qapi event: convert RESUME, Wenchao Xia, 2014/06/05
- [Qemu-devel] [PATCH V6 13/29] qapi event: convert SUSPEND, Wenchao Xia, 2014/06/05
- [Qemu-devel] [PATCH V6 14/29] qapi event: convert SUSPEND_DISK, Wenchao Xia, 2014/06/05
- [Qemu-devel] [PATCH V6 15/29] qapi event: convert WAKEUP, Wenchao Xia, 2014/06/05