commit | c7126d5b3216e57b4e388e3fd34faa785b8e4bd0 | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Jun 16 06:43:06 2010 -0700 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Jun 22 14:38:01 2010 +0200 |
tree | 6e94b3f463b93566db776e91e1b22d8c85f84c78 | |
parent | 01bedebaaf9bb04138e963740a9ee6d10e18830b [diff] |
scsi-bus: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignments This patch updates hw/scsi-bus.c to add MAINTENANCE_IN and MAINTENANCE_OUT case in scsi_req_length() for TYPE_ROM with MMC commands. It also adds the MAINTENANCE_OUT case in scsi_req_xfer_mode() to set SCSI_XFER_TO_DEV for outgoing write data. Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>