]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Check for qemu capability when calling virDomainGetBlockIoTune()
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 28 May 2015 09:38:43 +0000 (11:38 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 4 Jun 2015 09:30:41 +0000 (11:30 +0200)
commitf833c70b85993f024be4afc4dfbfc2fb9c2d6cd9
treeb0f3401751353383020748bae1a231a64016cb16
parent50a9d0e67ddd4112940c2b792c7d9936ba075ee5
qemu: Check for qemu capability when calling virDomainGetBlockIoTune()

When getting block device I/O tuning data there is no check for whether
QEMU supports such options and the call fails on
qemuMonitorGetBlockIoThrottle() when getting the particular throttle
data.  So try reporting a better error when blkdeviotune is not
supported.

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

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_driver.c