]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Properly recalculate/reload balloon size after hot(un)plug
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Apr 2016 13:57:57 +0000 (15:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 15 Apr 2016 12:27:09 +0000 (14:27 +0200)
commit6306ee6249024322bda2ab0f6f53bec7e24ea897
treee7b02dd8b7bf54071022318965cf682961c2cb78
parent1996da216a8e283a56c87b93263b33adc17b41a4
qemu: hotplug: Properly recalculate/reload balloon size after hot(un)plug

Rather than trying some magic calculations on our side query the monitor
for the current size of the memory balloon both on hotplug and
hotunplug.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1220702
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c
src/qemu/qemu_process.h