diff options
| author | Nicholas Bellinger | 2010-06-16 15:43:06 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2010-06-22 14:38:01 +0200 |
| commit | c7126d5b3216e57b4e388e3fd34faa785b8e4bd0 (patch) | |
| tree | 6e94b3f463b93566db776e91e1b22d8c85f84c78 /blockdev.c | |
| parent | scsi-bus: Add PERSISTENT_RESERVE_OUT SCSIRequest->cmd.mode setup (diff) | |
| download | qemu-c7126d5b3216e57b4e388e3fd34faa785b8e4bd0.tar.gz qemu-c7126d5b3216e57b4e388e3fd34faa785b8e4bd0.tar.xz qemu-c7126d5b3216e57b4e388e3fd34faa785b8e4bd0.zip | |
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>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
