From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQ2lO-0003sJ-CR for qemu-devel@nongnu.org; Fri, 27 May 2011 15:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQ2lN-0002IE-Fg for qemu-devel@nongnu.org; Fri, 27 May 2011 15:32:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQ2lN-0002I3-8k for qemu-devel@nongnu.org; Fri, 27 May 2011 15:32:01 -0400 From: Luiz Capitulino Date: Fri, 27 May 2011 16:31:49 -0300 Message-Id: <1306524712-13050-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 0/3]: QMP: Introduce the BLOCK_MEDIA_EJECT event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, amit.shah@redhat.com, aliguori@us.ibm.com, armbru@redhat.com The motivation for this event is that clients can get confused if removable media is ejected by the guest (or by a human user). You'll find detailed documentation in patch 2/3 and the actual implementation in patch 3/3. Thanks. QMP/qmp-events.txt | 18 ++++++++++++++++++ block.c | 16 ++++++++++++++-- block.h | 5 +++-- blockdev.c | 5 +++++ hw/ide/core.c | 6 +++--- hw/scsi-disk.c | 6 +++--- hw/virtio-blk.c | 6 +++--- monitor.c | 3 +++ monitor.h | 1 + 9 files changed, 53 insertions(+), 13 deletions(-)