From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5M0s-0005te-3k for qemu-devel@nongnu.org; Wed, 17 Jun 2015 18:40:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5M0p-0006Ho-9U for qemu-devel@nongnu.org; Wed, 17 Jun 2015 18:40:54 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:33449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5M0o-0006EM-OS for qemu-devel@nongnu.org; Wed, 17 Jun 2015 18:40:51 -0400 Received: by laka10 with SMTP id a10so43131154lak.0 for ; Wed, 17 Jun 2015 15:40:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Andrey Korolyov Date: Thu, 18 Jun 2015 01:40:29 +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: Vasiliy Tolstov Cc: libvir-list , "qemu-devel@nongnu.org" On Thu, Jun 18, 2015 at 12:21 AM, Vasiliy Tolstov wrote: > 2015-06-17 19:26 GMT+03:00 Vasiliy Tolstov : >> This is band news =( i have debian wheezy that have old kernel... > > > Does it possible to get proper results with balloon ? For example by > patching qemu or something like this? > > 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.