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

Peter Krempa pkrempa at redhat.com
Wed Sep 23 13:02:09 UTC 2015


On Wed, Sep 23, 2015 at 14:56:05 +0200, Ján Tomko wrote:
> 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

Pushed; Thanks.

Peter
-------------- 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/63d65b93/attachment-0001.sig>


More information about the libvir-list mailing list