« Previous | Next » 

Revision ef405611

IDef405611168015cfd28669e04506bb99d7c39288

Added by Paolo Bonzini over 11 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences