]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Extract more information about qemu drives
authorPeter Krempa <pkrempa@redhat.com>
Thu, 19 May 2016 12:57:41 +0000 (14:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 May 2016 08:15:54 +0000 (10:15 +0200)
commitf1690dc3d7934bf70f4fbc84d55bf210276c6f27
tree86a28dfda85226180f60fd6b7b54fa59cd9d055e
parent5f963d89b1220460fadb1bf6fc347d26b311c1b2
qemu: Extract more information about qemu drives

Extract whether a given drive has a tray and whether there is no image
inserted.

Negative logic for the image insertion is chosen so that the flag is set
only if we are certain of the fact.
src/qemu/qemu_domain.h
src/qemu/qemu_monitor_json.c
tests/qemumonitorjsontest.c