diff options
author | Paolo Bonzini | 2012-07-12 16:08:24 +0200 |
---|---|---|
committer | Paolo Bonzini | 2012-07-26 17:44:09 +0200 |
commit | ef405611168015cfd28669e04506bb99d7c39288 (patch) | |
tree | afd4ad8b7c4e757d4ee3991df6c9c244fadd0425 /hw/scsi-bus.c | |
parent | scsi-disk: support emulated TO_DEV requests (diff) | |
download | qemu-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