Received: from eggs.gnu.org ([2001:4830:134:3::10]:35544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk7Fh-0002aS-Cb for qemu-devel@nongnu.org; Wed, 14 Sep 2016 06:17:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bk7Fd-0005kH-Ai for qemu-devel@nongnu.org; Wed, 14 Sep 2016 06:17:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk7Fd-0005k5-5c for qemu-devel@nongnu.org; Wed, 14 Sep 2016 06:17:09 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B944E3B3D2 for ; Wed, 14 Sep 2016 10:17:08 +0000 (UTC) From: Fam Zheng Date: Wed, 14 Sep 2016 18:17:02 +0800 Message-Id: <1473848224-24809-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] scsi: Fixes around eject List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini 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