qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/1] nvdimm: disable balloon


From: Xiao Guangrong
Subject: Re: [Qemu-devel] [PATCH 1/1] nvdimm: disable balloon
Date: Wed, 20 Jan 2016 23:41:36 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0



On 01/20/2016 07:36 PM, Vladimir Sementsov-Ogievskiy wrote:
On 19.01.2016 11:53, Xiao Guangrong wrote:


On 01/18/2016 07:42 PM, Denis V. Lunev wrote:
From: Vladimir Sementsov-Ogievskiy <address@hidden>

NVDIMM for now is planned to use as a backing store for DAX filesystem
in the guest and thus this memory is excluded from guest memory management
and LRUs.

In this case libvirt running QEMU along with configured ballon almost
immediately inflates balloon and effectively kill the guest as
qemu counts nvdimm as part of the ram.


It looks good me.

However, it is not related to this patch, why not use the 'total memory' 
reported
by guest instead? It is more precise as a) BIOS and other components will occupy
available memory and b) guest may limit the memory size it can use...

What do you mean? fix virtio_balloon_set_config instead of get_current_ram_size 
? Or what?

No. I just thrown the question and hoped some one can figure it out, it is not 
about
this patch.



reply via email to

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