From patchwork Wed Jan 12 18:22:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 78603 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0EF9DB6F10 for ; Thu, 13 Jan 2011 05:25:22 +1100 (EST) Received: from localhost ([127.0.0.1]:33885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pd5Nn-00058c-HN for incoming@patchwork.ozlabs.org; Wed, 12 Jan 2011 13:25:19 -0500 Received: from [140.186.70.92] (port=51897 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pd5Kt-0003un-TG for qemu-devel@nongnu.org; Wed, 12 Jan 2011 13:22:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pd5Ks-0003ck-Ls for qemu-devel@nongnu.org; Wed, 12 Jan 2011 13:22:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:63639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pd5Kr-0003bR-PF for qemu-devel@nongnu.org; Wed, 12 Jan 2011 13:22:18 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0CIMEMT008622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 12 Jan 2011 13:22:15 -0500 Received: from localhost (ovpn-113-90.phx2.redhat.com [10.3.113.90]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0CIMDuS017895; Wed, 12 Jan 2011 13:22:14 -0500 From: Luiz Capitulino To: qemu-devel@nongnu.org Date: Wed, 12 Jan 2011 16:22:02 -0200 Message-Id: <1294856523-4288-3-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1294856523-4288-1-git-send-email-lcapitulino@redhat.com> References: <1294856523-4288-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: kwolf@redhat.com, aliguori@us.ibm.com, armbru@redhat.com Subject: [Qemu-devel] [PATCH 2/3] QMP: Documentation for the BLOCK_MEDIA_EJECT event X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Luiz Capitulino --- QMP/qmp-events.txt | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index 0ce5d4e..d13b17a 100644 --- a/QMP/qmp-events.txt +++ b/QMP/qmp-events.txt @@ -1,6 +1,21 @@ QEMU Monitor Protocol Events ============================ +BLOCK_MEDIA_EJECT +----------------- + +Emitted when a disk media (such as a CDROM or floppy) is ejected. + +Data: + +- "device": device name (json-string) + +Example: + +{ "event": "BLOCK_MEDIA_EJECT", + "data": { "device": "ide1-cd0" }, + "timestamp": { "seconds": 1265044230, "microseconds": 450486 } } + BLOCK_IO_ERROR --------------