qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] incorrect memory size inside vm


From: Piotr Rybicki
Subject: Re: [Qemu-devel] incorrect memory size inside vm
Date: Tue, 23 Jun 2015 14:32:20 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1

Thanks Piotr, the lack of the host-side memory shrinkage after balloon
deflation is interesting anyway, hopefully you may share guest` dmesg
bits from compiled-in balloon to check visible signs of the issue

It is really hard to see dmesg output via vnc console, when kernel is sending 
so many messages looped :(

(balloon should be initialized *before* DIMMs are being onlined, so
the behavior of the balloon itself it not clear at least for me).

Why balloon should be initialized before DIMMs onlined?

DIMMS are onlined as soon as udev starts (i have udev rule to online mem, cpu), 
so system has to start init process. I don't see any option to online DIMMs 
before booting reaches init process.

With balloon compiled-in, it starts to shrink memmory (for example to shrink 
8GB, when 1GB 'base' mem is defined, and 10GB in DIMMs), when there is only 1GB 
'base' memory. This leads to problem

With balloon loaded as a module, shrinking starts after init has begun (because 
system has to at least mount filesystem where balloon module is placed to load)

Well, i can't proove this with dmesg, but with balloon as module - system is 
booting and working as expected. With balloon compiled-in - system does not 
boot saying there is no free mem for balloon to shrink it.

Best regards
Piotr Rybicki




reply via email to

[Prev in Thread] Current Thread [Next in Thread]