scsi: change "removable" field to host many features
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 May 2012 08:23:54 +0000 (10:23 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 May 2012 06:43:58 +0000 (08:43 +0200)
commitbfe3d7ac6d838b1931678d96d01c45d84c7e3de8
tree71431b76c21092674e369ad78bcb750a072a5213
parent381b634c275ca1a2806e97392527bbfc01bcb333
scsi: change "removable" field to host many features

It is pointless to add a uint32_t field for every new feature.
Since we will need a new feature soon, convert accesses to "removable"
to look at bit 0 only.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi-disk.c