From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyTNN-0003LK-51 for qemu-devel@nongnu.org; Fri, 17 Feb 2012 14:21:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyTNM-0006MD-6c for qemu-devel@nongnu.org; Fri, 17 Feb 2012 14:21:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyTNL-0006M9-Js for qemu-devel@nongnu.org; Fri, 17 Feb 2012 14:21:48 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1HJLl3d031992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 17 Feb 2012 14:21:47 -0500 From: Luiz Capitulino Date: Fri, 17 Feb 2012 17:21:39 -0200 Message-Id: <1329506504-29152-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5]: QMP: add DEVICE_TRAY_MOVED event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, eblake@redhat.com, armbru@redhat.com The event name changed, which caused the subject to change too, hope this won't cause confusion. v3 o Rename the event to DEVICE_TRAY_MOVED o Rename the 'ejected' event data to 'tray-open' o Only call bdrv_eject() if the tray state changed o Drop ide_tray_state_post_load() QMP/qmp-events.txt | 18 +++++++++++ block.c | 84 +++++++++++++++++++++++++++++++++------------------ block.h | 8 ++-- block/raw-posix.c | 6 ++-- block/raw.c | 2 +- block_int.h | 2 +- hw/ide/atapi.c | 7 +++- hw/ide/core.c | 16 ++-------- hw/scsi-disk.c | 13 +++++--- hw/virtio-blk.c | 6 ++-- monitor.c | 3 ++ monitor.h | 1 + 12 files changed, 104 insertions(+), 62 deletions(-)