Re: [libvirt] [PATCH] qemu: Adjust the cur_ballon on coldplug/unplug of dimms

2016-07-27 Thread Peter Krempa
On Thu, Jul 21, 2016 at 15:39:30 +0530, Shivaprasad G Bhat wrote: > The cur_balloon also increases/decreases with dimm hotplug/unplug. > To be consistent, adjust the value for coldplug too. This was inconsistently > taken care when cur_ballon != memory to begin with. The patch fixes it >

[libvirt] [PATCH] qemu: Adjust the cur_ballon on coldplug/unplug of dimms

2016-07-21 Thread Shivaprasad G Bhat
The cur_balloon also increases/decreases with dimm hotplug/unplug. To be consistent, adjust the value for coldplug too. This was inconsistently taken care when cur_ballon != memory to begin with. The patch fixes it irrespective of that. Signed-off-by: Shivaprasad G Bhat