From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40630 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2WwC-0002bc-6j for qemu-devel@nongnu.org; Wed, 23 Mar 2011 18:54:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2WwB-00023n-2D for qemu-devel@nongnu.org; Wed, 23 Mar 2011 18:53:59 -0400 Received: from mail-vx0-f173.google.com ([209.85.220.173]:40195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2WwA-00023g-WF for qemu-devel@nongnu.org; Wed, 23 Mar 2011 18:53:59 -0400 Received: by vxb41 with SMTP id 41so7157597vxb.4 for ; Wed, 23 Mar 2011 15:53:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1300920226.2402.390.camel@pasglop> References: <1300858247-8197-1-git-send-email-david@gibson.dropbear.id.au> <20110323145112.GI22782@yookeroo> <1300920226.2402.390.camel@pasglop> Date: Wed, 23 Mar 2011 22:53:57 +0000 Message-ID: Subject: Re: [Qemu-devel] Re: [0/27] Implement emulation of pSeries logical partitions (v4) From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: qemu-devel@nongnu.org, paulus@samba.org, Alexander Graf , David Gibson On 23 March 2011 22:43, Benjamin Herrenschmidt w= rote: > On Thu, 2011-03-24 at 01:51 +1100, David Gibson wrote: >> Ah, you probably need to increase the amount of memory given to the >> guest. =C2=A0The SLOF image, certainly, won't work with the qemu default >> memory size. =C2=A0Try -m 512. > > Ah good point, forgot about that. SLOF has a minimum of 256M due to the > way we do the memory layout. We haven't quite figured out yet how to > have qemu just default to that for -M pseries. You could add a min_ram field to QEMUMachine along the lines of the max_ram patch I submitted earlier this week: http://patchwork.ozlabs.org/patch/87807/ and then have vl.c clamp the default RAM size to be at least the minimum. (I actually thought about implementing that in the patch but I didn't have a use case for it at the time...) -- PMM