If a cdrom drive is emptied by 'requisite' startup policy the policy setting
would
not be cleared and due to a bug in qemu the cdrom image could not be changed.
The first patch clears the startup policy setting and the second one fixes
ejection of cdroms if --force is specified.
Also I've reported the issue in qemu
https://bugzilla.redhat.com/show_bug.cgi?id=1373264
Peter Krempa (2):
qemu: domain: Clear startup policy for dropped removable media
qemu: hotplug: Don't wait if cdrom tray is opened forcibly
src/qemu/qemu_domain.c | 2 ++
src/qemu/qemu_hotplug.c | 9 ++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
--
2.9.2