From: John Snow <jsnow@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, pbonzini@redhat.com, pkrempa@redhat.com,
qemu-devel@nongnu.org, mreitz@redhat.com,
John Snow <jsnow@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/6] block-backend: Always notify on blk_eject
Date: Mon, 7 Nov 2016 16:13:28 -0500 [thread overview]
Message-ID: <1478553214-497-1-git-send-email-jsnow@redhat.com> (raw)
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
next reply other threads:[~2016-11-07 21:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-07 21:13 John Snow [this message]
2016-11-07 21:13 ` [Qemu-devel] [PATCH v2 1/6] block-backend: Always notify on blk_eject John Snow
2016-11-07 22:01 ` Eric Blake
2016-11-07 21:13 ` [Qemu-devel] [PATCH v2 2/6] libqtest: add qmp_eventwait_ref John Snow
2016-11-07 22:25 ` Eric Blake
2016-11-07 21:13 ` [Qemu-devel] [PATCH v2 3/6] libqos/ahci: Support expected errors John Snow
2016-11-07 21:13 ` [Qemu-devel] [PATCH v2 4/6] libqos/ahci: Add ATAPI tray macros John Snow
2016-11-07 21:13 ` [Qemu-devel] [PATCH v2 5/6] libqos/ahci: Add get_sense and test_ready John Snow
2016-11-07 21:13 ` [Qemu-devel] [PATCH v2 6/6] ahci-test: add QMP tray test for ATAPI John Snow
2016-11-10 16:34 ` [Qemu-devel] [PATCH v2 0/6] block-backend: Always notify on blk_eject John Snow
2016-11-11 14:01 ` Kevin Wolf
2016-11-11 15:12 ` John Snow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1478553214-497-1-git-send-email-jsnow@redhat.com \
--to=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=pkrempa@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).