On Wed, Jul 01, 2015 at 10:13:27 +0200, Peter Krempa wrote: > In commit 641a145d73fdc3dd9350fd57b3d3247abf101c05 I've added code that > resets the ballon memory value to full size prior to resuming the vCPUs > since the size certainly was not reduced at that point. > > Since qemuProcess start is used also in code paths with already booted > up guests (migration, save/restore) the assumption is not entirely true > since the guest might already been running before. > > This patch adds a function that queries the monitor rather than using > the full size since a balloon event would not be reissued in case we are > recovering a saved migration state. > > Additionally the new function is used also when reconnecting to a VM > after libvirtd restart since we might have missed a few ballon events > while libvirtd was not running. > --- > src/qemu/qemu_process.c | 38 +++++++++++++++++++++++++++++++++++++- > 1 file changed, 37 insertions(+), 1 deletion(-) > Ping?
Attachment:
signature.asc
Description: Digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list