diff mbox

[1/2,scsi-bus] : Add PERSISTENT_RESERVE_OUT SCSIRequest->cmd.mode setup

Message ID 1276695778-16607-1-git-send-email-nab@linux-iscsi.org (mailing list archive)
State New, archived
Headers show

Commit Message

Nicholas A. Bellinger June 16, 2010, 1:42 p.m. UTC
None
diff mbox

Patch

diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index b8e4b71..7a5fa48 100644
--- a/hw/scsi-bus.c
+++ b/hw/scsi-bus.c
@@ -389,6 +389,7 @@  static void scsi_req_xfer_mode(SCSIRequest *req)
     case MEDIUM_SCAN:
     case SEND_VOLUME_TAG:
     case WRITE_LONG_2:
+    case PERSISTENT_RESERVE_OUT:
         req->cmd.mode = SCSI_XFER_TO_DEV;
         break;
     default: