qemu-e2k/hw/ide
Markus Armbruster 95b5edcd92 blockdev: Store -drive option media in DriveInfo
DriveInfo is closely tied to -drive, and like -drive, it mixes
information about host and guest part of the block device.  Unlike
DriveInfo, BlockDriverState should be about the host part only.

One of the remaining guest bits there is the "type hint".  -drive
option media sets it, and qdevs "ide-drive", "scsi-disk" and non-qdev
IF_XEN devices check it to pick HD vs. CD.

Communicate -drive option media via new DriveInfo member media_cd
instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-05-19 10:26:21 +02:00
..
ahci.c ahci: Fix crashes on duplicate BH registration 2011-05-18 14:38:46 +02:00
ahci.h ich/ahci: convert to pci_register_bar_simple() 2011-04-07 13:56:46 +03:00
atapi.c ide/atapi: fix set but unused 2011-05-03 11:29:21 +02:00
cmd646.c
core.c blockdev: Store -drive option media in DriveInfo 2011-05-19 10:26:21 +02:00
ich.c ahci: Unbreak bar registration 2011-05-16 10:15:47 -05:00
internal.h ide: Split qdev "ide-drive" into "ide-hd" and "ide-cd" 2011-05-19 10:26:04 +02:00
isa.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
macio.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
microdrive.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
mmio.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
pci.c ide: Turn debug messages into assertions 2011-05-18 14:38:45 +02:00
pci.h
piix.c
qdev.c blockdev: Store -drive option media in DriveInfo 2011-05-19 10:26:21 +02:00
via.c