[libvirt] [PATCH] qemu: Check for qemu capability when calling virDomainGetBlockIoTune()

Ján Tomko jtomko at redhat.com
Thu Jun 4 08:59:10 UTC 2015


On Thu, May 28, 2015 at 08:18:31PM +0200, Martin Kletzander wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_driver.c | 6 ++++++
>  1 file changed, 6 insertions(+)

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150604/69e6efd4/attachment-0001.sig>


More information about the libvir-list mailing list