[libvirt] [PATCH v2] qemu: Refresh memory size only on fresh starts

Ján Tomko jtomko at redhat.com
Wed Sep 23 12:56:05 UTC 2015


On Wed, Sep 23, 2015 at 02:23:09PM +0200, Peter Krempa wrote:
> Qemu unfortunately doesn't update internal state right after migration
> and so the actual balloon size as returned by 'query-balloon' are
> invalid for a while after the CPUs are started after migration. If we'd
> refresh our internal state at this point we would report invalid current
> memory size until the next balloon event would arrive.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1242940
> ---
> Version 2:
> - completely different from original posting due to unexpected qemu behavior
> 
>  src/qemu/qemu_process.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150923/009d1e5c/attachment-0001.sig>


More information about the libvir-list mailing list