commit | f9e8fda4796c0e8aebfc1e7ddf9bed6865adab02 | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Wed Aug 03 15:08:12 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Sep 06 11:24:07 2011 +0200 |
tree | 64e9c308930a309811802b4fa9173774a4f82799 | |
parent | 07b70bfbb3f3aea9ce7a3a1da78cbfa8ae6bbce6 [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>