commit | 7877903aa0ef318017441c32605bc64650e6a326 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 13 10:39:50 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 28 19:25:52 2011 +0200 |
tree | 174952301a7a18059bb93ea32d7a93e4d6765beb | |
parent | e39be4823215e511d0e85aa33b2a5ade71064c72 [diff] |
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 <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>