diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-10-13 10:36:27 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-10-28 19:25:51 +0200 |
commit | 9b6eef8a319f11f977add658b622b60900877410 (patch) | |
tree | ee1dfd466046495a65345981bba97a5150f25a52 /hw/scsi-disk.c | |
parent | a3b16e71ab733f76104231b873dff48d43fb3890 (diff) |
scsi-generic: snoop READ CAPACITY commands to get block size
Instead of "guessing" the block size when there is no medium in the
drive, wait for the guest to send a READ CAPACITY command and snoop
it from there.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions