[libvirt] [PATCH] qemu: blkiotune: Avoid accessing non-existing disk configuration

Martin Kletzander mkletzan at redhat.com
Wed Aug 20 09:05:07 UTC 2014


On Wed, Aug 20, 2014 at 10:53:08AM +0200, Peter Krempa wrote:
>When a user would try changing the persistent IO tuning settings for a
>disk that was hotplugged to a vm in a transient way, the
>qemuDomainSetBlockIoTune API would use the same index for both the
>live and config disk array. The disk was missing from the config array
>though causing a crash of libvirtd.
>
>To fix the issue, determine the indexes separately.
>
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1131819
>---
> src/qemu/qemu_driver.c | 20 +++++++++++++++-----
> 1 file changed, 15 insertions(+), 5 deletions(-)
>

ACK,

Martin
-------------- 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/20140820/365135f9/attachment-0001.sig>


More information about the libvir-list mailing list