]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Update blkio.weight value after successful set
authorLuyao Huang <lhuang@redhat.com>
Wed, 19 Aug 2015 03:56:33 +0000 (11:56 +0800)
committerCole Robinson <crobinso@redhat.com>
Tue, 22 Sep 2015 00:18:02 +0000 (20:18 -0400)
commit075f66e304bfc3b6098db949a8af042cf7af85ac
tree104a544ada6f624a79839b82c47eee2fe22a386c
parent77fa00888f5b40b7ba309a3fe346e3dc21424284
qemu: Update blkio.weight value after successful set

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

Make a call virCgroupGetBlkioWeight to re-read blkio.weight right
after it is set in order to keep internal data up-to-date.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
(cherry picked from commit bf2788218ad29719467260aa4ecad6dc31c97046)
src/qemu/qemu_driver.c