From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9H7q-0005Oe-2S for qemu-devel@nongnu.org; Tue, 04 May 2010 08:21:22 -0400 Received: from [140.186.70.92] (port=50499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9H7g-0005KB-4g for qemu-devel@nongnu.org; Tue, 04 May 2010 08:21:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9H7b-0008VU-89 for qemu-devel@nongnu.org; Tue, 04 May 2010 08:21:12 -0400 Received: from david.siemens.de ([192.35.17.14]:23932) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9H7a-0008UI-Rt for qemu-devel@nongnu.org; Tue, 04 May 2010 08:21:07 -0400 From: Jan Kiszka Date: Tue, 4 May 2010 14:20:58 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/5] scsi: More reset and hotplug fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Gerd Hoffmann This series finally stabilizes system reset during ongoing SCSI I/O here. The first patch is a repost, the others include missing reset related bits that mostly concern the LSI controller. And the last patch addresses a disk hotplugging issue: The LSI used to keep pointers to the selected device, pointer that can become invalid it the device is removed in the middle of ongoing I/O. Jan Kiszka (5): SCSI: Add disk reset handler scsi-disk: Clear aiocb on read completion lsi: Purge message queue on reset lsi: Adjust some register reset values lsi: Handle removal of selected devices hw/lsi53c895a.c | 70 +++++++++++++++++++++++++++++++++++------------------- hw/scsi-disk.c | 37 ++++++++++++++++++++++------ 2 files changed, 74 insertions(+), 33 deletions(-)