From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5M4d-0007Jq-AN for qemu-devel@nongnu.org; Wed, 17 Jun 2015 18:44:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5M4X-00046J-Hd for qemu-devel@nongnu.org; Wed, 17 Jun 2015 18:44:47 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:34776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5M4X-00044u-6i for qemu-devel@nongnu.org; Wed, 17 Jun 2015 18:44:41 -0400 Received: by wgfq1 with SMTP id q1so1953849wgf.1 for ; Wed, 17 Jun 2015 15:44:40 -0700 (PDT) MIME-Version: 1.0 Sender: vase@selfip.ru In-Reply-To: References: From: Vasiliy Tolstov Date: Thu, 18 Jun 2015 01:44:24 +0300 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] incorrect memory size inside vm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov Cc: libvir-list , "qemu-devel@nongnu.org" 2015-06-18 1:40 GMT+03:00 Andrey Korolyov : > > Yes, but I`m afraid that I don`t fully understand why do you need this > when pure hotplug mechanism is available, aside may be nice memory > stats from balloon and easy-to-use deflation. Just populate a couple > of static dimms with small enough 'base' e820 memory and use balloon > on this setup, you`ll get the reserved memory footprint as small as it > would be in setup with equal overall amount of memory populated via > BIOS. For example, you may use -m 128 ... {handful amount of memory > placed in memory slots} setup to achieve the thing you want. I have debian wheezy guests with 3.4 kernels (or 3.2..) and many others like 32 centos 6, opensue , ubuntu, and other. Does memory hotplug works with this distros (kernels)? -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru