summaryrefslogtreecommitdiffstats
path: root/hw/scsi-bus.c
diff options
context:
space:
mode:
authorPaolo Bonzini2012-07-12 16:08:24 +0200
committerPaolo Bonzini2012-07-26 17:44:09 +0200
commitef405611168015cfd28669e04506bb99d7c39288 (patch)
treeafd4ad8b7c4e757d4ee3991df6c9c244fadd0425 /hw/scsi-bus.c
parentscsi-disk: support emulated TO_DEV requests (diff)
downloadqemu-ef405611168015cfd28669e04506bb99d7c39288.tar.gz
qemu-ef405611168015cfd28669e04506bb99d7c39288.tar.xz
qemu-ef405611168015cfd28669e04506bb99d7c39288.zip
scsi-disk: adjust offsets in MODE SENSE by 2
This will make offsets the same when implementing MODE SELECT. This is because MODE SELECT has to deal with both 2-byte and 4-byte headers. Unfortunately, this means that the offsets are now off by two compared to the descriptions in the SCSI specs, which include the header. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi-bus.c')
0 files changed, 0 insertions, 0 deletions