From: "Nicholas A. Bellinger" Subject: [PATCH 0/2] [scsi-bus]: Changes for PERSISTENT_RESERVE_OUT and MAINTENANCE CDBs v2 Date: Wed, 16 Jun 2010 06:42:40 -0700 Message-ID: <1276695761-16588-1-git-send-email-nab@linux-iscsi.org> Cc: Gerd Hoffmann , Hannes Reinecke , Paul Brook , Christoph Hellwig , FUJITA Tomonori , kvm-devel , qemu-devel , Nicholas Bellinger To: Kevin Wolf Return-path: Received: from smtp105.sbc.mail.gq1.yahoo.com ([67.195.14.108]:43000 "HELO smtp105.sbc.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1758650Ab0FPNme (ORCPT ); Wed, 16 Jun 2010 09:42:34 -0400 Sender: kvm-owner@vger.kernel.org List-ID: From: Nicholas Bellinger Greetings, Attached is v2 for a series containing a handful of changes required for scsi-bus in order to get PERSISTENT_RESERVE_OUT and MAINTENANCE CDBs working as expected. Thanks to Kevin Wolf for pointing out the unnecessary SCSIRequest->cmd.xfer reassignments in scsi_req_length() from the original series. Tested with Linux KVM guests and Megasas 8708EM2 HBA emulation + scsi-generic and TCM_Loop target ports. Signed-off-by: Nicholas A. Bellinger Nicholas Bellinger (2): [scsi-bus]: Add PERSISTENT_RESERVE_OUT SCSIRequest->cmd.mode setup [scsi-bus]: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignments hw/scsi-bus.c | 11 +++++++++++ hw/scsi-defs.h | 2 ++ 2 files changed, 13 insertions(+), 0 deletions(-)