Received: from eggs.gnu.org ([2001:4830:134:3::10]:57108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8BWb-0003go-73 for qemu-devel@nongnu.org; Wed, 01 Jun 2016 15:09:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8BWV-000866-RM for qemu-devel@nongnu.org; Wed, 01 Jun 2016 15:09:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8BWV-00085W-L5 for qemu-devel@nongnu.org; Wed, 01 Jun 2016 15:09:47 -0400 Date: Wed, 1 Jun 2016 16:09:45 -0300 From: Eduardo Habkost Message-ID: <20160601190945.GC19055@thinpad.lan.raisama.net> References: <1464784092-28298-1-git-send-email-kraxel@redhat.com> <7e45a573-a884-ceb5-7d7f-e26dc0f9fa3c@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7e45a573-a884-ceb5-7d7f-e26dc0f9fa3c@redhat.com> Subject: Re: [Qemu-devel] [RESEND PATCH] pc: allow raising low memory via max-ram-below-4g option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Gerd Hoffmann , qemu-devel@nongnu.org, "Michael S. Tsirkin" , Richard Henderson On Wed, Jun 01, 2016 at 03:02:56PM +0200, Paolo Bonzini wrote: > On 01/06/2016 14:28, Gerd Hoffmann wrote: > > This patch extends the functionality of the max-ram-below-4g option > > to also allow increasing lowmem. Use case: Give as much memory as > > possible to legacy non-PAE guests. > > > > While being at it also rework the lowmem calculation logic and add a > > longish comment describing how it works and what the compatibility > > constrains are. > > Does this break migration if you use something like "-M > max-ram-below-4g=4g -m 3968m"? > > I don't have big problems with that, but it has to be documented. >From reading the previous discussion, it looks like it breaks compatibility for: gigabyte_align && max_ram_below_4g > 3G || max_ram_below_4g > 3.5G My past self said that those were unsupported configurations (but I didn't verify his claim), so it should be OK. But we need to document that in the commit message, at least. -- Eduardo