From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3rEf-0007a8-5O for qemu-devel@nongnu.org; Mon, 07 Nov 2016 16:13:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3rEe-00054U-12 for qemu-devel@nongnu.org; Mon, 07 Nov 2016 16:13:45 -0500 From: John Snow Date: Mon, 7 Nov 2016 16:13:28 -0500 Message-Id: <1478553214-497-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/6] block-backend: Always notify on blk_eject List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, pkrempa@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com, John Snow Requires patches in my IDE branch, for context. This series changes blk_eject (used for a software-initiated eject request) to always trigger a QMP tray event, in contrast to the current behavior where a tray event only occurs if a medium is already in the tray. V2: Now with tests. (Kevin) ________________________________________________________________________________ For convenience, this branch is available at: https://github.com/jnsnow/qemu.git branch tray-always-notify https://github.com/jnsnow/qemu/tree/tray-always-notify This version is tagged tray-always-notify-v2: https://github.com/jnsnow/qemu/releases/tag/tray-always-notify-v2 John Snow (6): block-backend: Always notify on blk_eject libqtest: add qmp_eventwait_ref libqos/ahci: Support expected errors libqos/ahci: Add ATAPI tray macros libqos/ahci: Add get_sense and test_ready ahci-test: add QMP tray test for ATAPI block/block-backend.c | 13 +++---- tests/ahci-test.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/libqos/ahci.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++--- tests/libqos/ahci.h | 26 ++++++++++++-- tests/libqtest.c | 13 +++++-- tests/libqtest.h | 22 ++++++++++++ 6 files changed, 252 insertions(+), 16 deletions(-) -- 2.7.4