summary refs log tree commit diff stats
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-05-16 15:04:53 +0200
committerKevin Wolf <kwolf@redhat.com>2011-05-19 10:26:09 +0200
commitb443ae67130d32ad06b06fc9aa6d04d05ccd93ce (patch)
treeca85ced8cacf73e994bc7c723abbc8ec4906bfd0 /cpu-exec.c
parent1f56e32a7f4b3a60bbabc499a63f3b858f472306 (diff)
downloadfocaccia-qemu-b443ae67130d32ad06b06fc9aa6d04d05ccd93ce.tar.gz
focaccia-qemu-b443ae67130d32ad06b06fc9aa6d04d05ccd93ce.zip
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 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions