diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-10-12 14:27:40 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-10-28 19:25:52 +0200 |
commit | e39be4823215e511d0e85aa33b2a5ade71064c72 (patch) | |
tree | 545ed8d03bd2570f04b3115a63ea1ab779eac999 /hw/scsi.h | |
parent | 69377307b25f12235560d21050808a8de5793199 (diff) | |
download | qemu-e39be4823215e511d0e85aa33b2a5ade71064c72.zip qemu-e39be4823215e511d0e85aa33b2a5ade71064c72.tar.gz qemu-e39be4823215e511d0e85aa33b2a5ade71064c72.tar.bz2 |
scsi-disk: small clean up to INQUIRY
Set s->removable, s->qdev.blocksize and s->qdev.type in the callers
of scsi_initfn.
With this in place, s->qdev.type is allowed, and we can just reuse it
as the first byte in VPD data (just like we do in standard INQUIRY data).
Also set s->removable is set consistently and we can use it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi.h')
0 files changed, 0 insertions, 0 deletions