From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFk4M-0004bd-Dz for qemu-devel@nongnu.org; Wed, 22 Jun 2016 11:27:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFk4H-0004zt-E9 for qemu-devel@nongnu.org; Wed, 22 Jun 2016 11:27:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFk4H-0004zk-8V for qemu-devel@nongnu.org; Wed, 22 Jun 2016 11:27:53 -0400 Message-ID: <1466609271.16954.59.camel@redhat.com> From: Gerd Hoffmann Date: Wed, 22 Jun 2016 17:27:51 +0200 In-Reply-To: <20160622150937.GS5666@perard.uk.xensource.com> References: <20160622150937.GS5666@perard.uk.xensource.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] Change of max-ram-below-4g initial value breaks Xen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony PERARD Cc: qemu-devel@nongnu.org, xen-devel@lists.xen.org, Stefano Stabellini , Paolo Bonzini Hi, > How could xen_ram_init() find out if the value of max-ram-below-4g is > the default or if a user have set it? Is there another way we could fix > this? I guess we'll need a separate variable for that then, something along the lines of "max-ram-below-4g-default". I'll have a look tomorrow (unless you are faster with a patch ;) cheers, Gerd