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

Peter Krempa pkrempa at redhat.com
Wed Aug 20 09:08:19 UTC 2014


On 08/20/14 11:05, Martin Kletzander wrote:
> 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

Pushed; Thanks.

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140820/88815528/attachment-0001.sig>


More information about the libvir-list mailing list