The first patch fixes what Paolo noticed wrong earlier today. The second patch fixes a related crash with virtio-scsi data plane. It supersedes
https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg02243.html Fam Zheng (2): scsi-disk: Cleaning up around tray open state virtio-scsi: Don't abort when media is ejected hw/scsi/scsi-disk.c | 22 ++++++++-------------- hw/scsi/virtio-scsi.c | 15 +++++++++------ 2 files changed, 17 insertions(+), 20 deletions(-) -- 2.7.4