aboutsummaryrefslogtreecommitdiff
path: root/hw/spitz.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-08-03 15:08:12 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-06 11:24:07 +0200
commitf9e8fda4796c0e8aebfc1e7ddf9bed6865adab02 (patch)
tree64e9c308930a309811802b4fa9173774a4f82799 /hw/spitz.c
parent07b70bfbb3f3aea9ce7a3a1da78cbfa8ae6bbce6 (diff)
xen: Clean up pci_piix3_xen_ide_unplug()'s test for "not a CD"
pci_piix3_xen_ide_unplug() unplugs only disks, not CD-ROMs. It peeks into the DriveInfo's BlockDriverState to distinguish between the two. Unclean; use DriveInfo member media_cd, like xen_config_dev_blk(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/spitz.c')
0 files changed, 0 insertions, 0 deletions