Received: from eggs.gnu.org ([208.118.235.92]:57114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfAWd-0003zC-4i for qemu-devel@nongnu.org; Thu, 14 Jun 2012 09:56:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfAWb-0002gp-F9 for qemu-devel@nongnu.org; Thu, 14 Jun 2012 09:55:50 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:48320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfAWb-0002g5-5v for qemu-devel@nongnu.org; Thu, 14 Jun 2012 09:55:49 -0400 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 14 Jun 2012 14:55:46 +0100 Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5EDtWwJ2363588 for ; Thu, 14 Jun 2012 14:55:33 +0100 Received: from d06av12.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5EDtV48012845 for ; Thu, 14 Jun 2012 07:55:31 -0600 From: Christian Borntraeger Date: Thu, 14 Jun 2012 15:55:24 +0200 Message-Id: <1339682129-1497-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PATCH 0/5] scsi related fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pbonzini@redhat.com Cc: stefanha@gmail.com, qemu-devel@nongnu.org, Christian Borntraeger Paolo, this patch series was created during bringup of virtio-scsi on s390x. We used a tape library as a test vehicle. so here is the set of patches that allowed us to use it via virtio-scsi. Any comments? Ok to apply? Christian Christian Hoff (5): scsi: Fix data length == SCSI_SENSE_BUF_SIZE scsi: Fix LOAD_UNLOAD scsi: Add basic support for SCSI media changer commands. scsi: Fix transfer length for READ POSITION commands. scsi: Ensure command and transfer lengths are set for all SCSI stream commands. hw/scsi-bus.c | 91 +++++++++++++++++++++++++++++++++++++++++++++++++------- hw/scsi-defs.h | 14 ++++++++- 2 files changed, 93 insertions(+), 12 deletions(-)