commit | e39be4823215e511d0e85aa33b2a5ade71064c72 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 12 14:27:40 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 28 19:25:52 2011 +0200 |
tree | 545ed8d03bd2570f04b3115a63ea1ab779eac999 | |
parent | 69377307b25f12235560d21050808a8de5793199 [diff] |
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>