From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLuAe-0005fa-IL for qemu-devel@nongnu.org; Wed, 20 Jan 2016 09:55:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLuAa-00034E-Rr for qemu-devel@nongnu.org; Wed, 20 Jan 2016 09:55:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLuAa-000340-M5 for qemu-devel@nongnu.org; Wed, 20 Jan 2016 09:55:36 -0500 Message-ID: <1453301733.11804.142.camel@redhat.com> From: Gerd Hoffmann Date: Wed, 20 Jan 2016 15:55:33 +0100 In-Reply-To: <20160119123739.GA27855@thinpad.lan.raisama.net> References: <1452257883-19549-1-git-send-email-kraxel@redhat.com> <20160119123739.GA27855@thinpad.lan.raisama.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v2] pc: allow raising low memory via max-ram-below-4g option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Paolo Bonzini , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Richard Henderson Hi, > > + * qemu -M pc,max-ram-below-4g=3D2G -m 4G -> 2048M low, 204= 8M high > I assume max-ram-below-4g > 3.5G was unsupported before, and we > are breaking compatibility intentionally. max-ram-below-4g did only reduce memory, so max-ram-below-4g > 3.5G (or max-ram-below-4g > 3G with gigabyte align) had no effect and therefore is something pretty pointless. I'd expect the one case quoted above to be the only case relevant in practice (i.e. move split from 3G to 2G for more PCI I/O space), especially given that the option was added after gigabyte alignment support. > Because this patch also > changes the resulting memory layout when > 3G < max_ram_below_4g < ram_size < 3.5G > e.g.: > qemu -M pc,max-ram-below-4g=3D3200M -m 3328M Ah, I see. With the patch applied the gigabyte align option is weighed higher, so qemu wouldn't give you 3200M lowmem. I would be highly surprised to see such a configuration in the wild ... cheers, Gerd