From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9vd5-0000et-Tq for qemu-devel@nongnu.org; Wed, 23 Jul 2014 08:26:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9vcw-0001x2-SN for qemu-devel@nongnu.org; Wed, 23 Jul 2014 08:26:43 -0400 Received: from qmta07.emeryville.ca.mail.comcast.net ([76.96.30.64]:52142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9vcw-0001wy-Kz for qemu-devel@nongnu.org; Wed, 23 Jul 2014 08:26:34 -0400 From: Eric Blake Date: Wed, 23 Jul 2014 06:26:18 -0600 Message-Id: <1406118378-11217-6-git-send-email-eblake@redhat.com> In-Reply-To: <1406118378-11217-1-git-send-email-eblake@redhat.com> References: <1406118378-11217-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH v2 for-2.1 5/5] docs: document missing VSERPORT_CHANGE event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, wenchaoqemu@gmail.com, armbru@redhat.com, lcapitulino@redhat.com The VSERPORT_CHANGE event was added in e2ae6159. The patch for this event was prepared at a time when this file was gone, even though it got applied immediately after dfab4892 restored this file. Duplicate the documentation into this file, so that anyone using this file instead of qapi will not miss out on this new event. * docs/qmp/qmp-events.txt (VSERPORT_CHANGE): Add. Signed-off-by: Eric Blake --- docs/qmp/qmp-events.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt index 9d7439e..d759d19 100644 --- a/docs/qmp/qmp-events.txt +++ b/docs/qmp/qmp-events.txt @@ -579,6 +579,22 @@ Example: "host": "127.0.0.1", "sasl_username": "luiz" } }, "timestamp": { "seconds": 1263475302, "microseconds": 150772 } } +VSERPORT_CHANGE +--------------- + +Emitted when the guest opens or closes a virtio-serial port. + +Data: + +- "id": device identifier of the virtio-serial port (json-string) +- "open": true if the guest has opened the virtio-serial port (json-bool) + +Example: + +{ "event": "VSERPORT_CHANGE", + "data": { "id": "channel0", "open": true }, + "timestamp": { "seconds": 1401385907, "microseconds": 422329 } } + WAKEUP ------ -- 1.9.3