]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add flag to force a CDROM eject
authorCole Robinson <crobinso@redhat.com>
Mon, 8 Nov 2010 17:52:48 +0000 (12:52 -0500)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 Nov 2010 17:31:20 +0000 (12:31 -0500)
commit96d52fcf43f61a95d3aec44aaf8738a1495e447a
treebb184b612ddd7887c998d29567713db1e5475a81
parentf970d802ab805f1a37af384f148f34e108714034
qemu: Add flag to force a CDROM eject

QEMU allows forcing a CDROM eject even if the guest has locked the device.
Expose this via a new UpdateDevice flag, VIR_DOMAIN_DEVICE_MODIFY_FORCE.

This has been requested for RHEV:

https://bugzilla.redhat.com/show_bug.cgi?id=626305

v2: Change flag name, bool cleanups
include/libvirt/libvirt.h.in
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
src/qemu/qemu_monitor_text.c
src/qemu/qemu_monitor_text.h