diff options
author | Markus Armbruster <armbru@redhat.com> | 2011-05-16 15:04:53 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-05-19 10:26:09 +0200 |
commit | b443ae67130d32ad06b06fc9aa6d04d05ccd93ce (patch) | |
tree | ca85ced8cacf73e994bc7c723abbc8ec4906bfd0 /vl.c | |
parent | 1f56e32a7f4b3a60bbabc499a63f3b858f472306 (diff) |
scsi: Split qdev "scsi-disk" into "scsi-hd" and "scsi-cd"
A "scsi-disk" is either a hard disk or a CD-ROM, depending on the
associated BlockDriverState's type hint. Unclean; disk vs. CD belongs
to the guest part, not the host part.
Have separate qdevs "scsi-hd" and "scsi-cd" to model disk vs. CD in
the guest part.
Keep scsi-disk for backward compatibility.
Don't copy scsi-disk property removable to scsi-cd. It's not used and
always zero(!) there.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions