From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvY6f-0002db-6A for qemu-devel@nongnu.org; Fri, 13 Jun 2014 16:29:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvY6a-0006EX-6n for qemu-devel@nongnu.org; Fri, 13 Jun 2014 16:29:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvY6Z-0006EL-Su for qemu-devel@nongnu.org; Fri, 13 Jun 2014 16:29:44 -0400 Message-ID: <539B5F33.9050905@redhat.com> Date: Fri, 13 Jun 2014 14:29:39 -0600 From: Eric Blake MIME-Version: 1.0 References: <1401970944-18735-1-git-send-email-wenchaoqemu@gmail.com> <1401970944-18735-12-git-send-email-wenchaoqemu@gmail.com> In-Reply-To: <1401970944-18735-12-git-send-email-wenchaoqemu@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o29t5NI0R08elqDx7U8DPnJjURRJqvVH5" Subject: Re: [Qemu-devel] [PATCH V6 11/29] qapi event: convert STOP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia , qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com, armbru@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --o29t5NI0R08elqDx7U8DPnJjURRJqvVH5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/05/2014 06:22 AM, Wenchao Xia wrote: > Signed-off-by: Wenchao Xia > --- > cpus.c | 5 +++-- > docs/qmp/qmp-events.txt | 12 ------------ > qapi-event.json | 9 +++++++++ > 3 files changed, 12 insertions(+), 14 deletions(-) >=20 > @@ -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 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --o29t5NI0R08elqDx7U8DPnJjURRJqvVH5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTm18zAAoJEKeha0olJ0Nqv1YH/iWsUlzRuWIixgmda4XtHDGs a19an/N5cZgCYk2+hhx6R3bjfVWxbFPQ+o30Y7m4rVNg5Bai2EKLXOyGA20yu+fS jv9gmodyRafpfMU3mGll0ng38aaM456AXsyp8wn18rJZ5HExbMwgenRuY6WefeV8 03HYfJWfahKK1R+4qAs6T7zEJnbrYuxheyKlu5wcQPZ+ikWLDl4nluLO+6SA5DXD A+q2xXfNzKIUHUyTMOTyaYMyHv+cq6i/KbsPHFKJ/iJ9RGi+d90DLPOStgVAnWjm wngQjmli8kNF0pL1wy69u5Qbn+5Xndq3jFFwyoUDXaHy0U4QDs2/lXKhiWPrgKo= =zQVm -----END PGP SIGNATURE----- --o29t5NI0R08elqDx7U8DPnJjURRJqvVH5--