« Previous | Next » 

Revision 7877903a

ID7877903aa0ef318017441c32605bc64650e6a326

Added by Paolo Bonzini over 12 years ago

scsi: move max_lba to SCSIDevice

The field is only in scsi-disk for now. Moving it up to SCSIDevice makes
it easier to reuse the scsi-generic reqops elsewhere.

At the same time, make scsi-generic get max_lba from snooped READ CAPACITY
commands as well.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences