From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0vLg-0004ir-Mz for qemu-devel@nongnu.org; Mon, 13 Aug 2012 10:10:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0vLa-0003c8-Sn for qemu-devel@nongnu.org; Mon, 13 Aug 2012 10:10:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0vLa-0003c3-Kl for qemu-devel@nongnu.org; Mon, 13 Aug 2012 10:10:22 -0400 Date: Mon, 13 Aug 2012 17:10:17 +0300 From: Gleb Natapov Message-ID: <20120813141017.GB11194@redhat.com> References: <87ipd8s7zs.fsf@blackfin.pond.sub.org> <87y5m1be5q.fsf@blackfin.pond.sub.org> <87wr1921rd.fsf@blackfin.pond.sub.org> <502235FA.6050903@redhat.com> <87393qnc3t.fsf@blackfin.pond.sub.org> <502907A5.6070302@redhat.com> <20120813140232.GA11194@redhat.com> <5029096E.5020607@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5029096E.5020607@redhat.com> Subject: Re: [Qemu-devel] Funny -m arguments can crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: peter.maydell@linaro.org, jan.kiszka@siemens.com, Markus Armbruster , qemu-devel@nongnu.org, Blue Swirl , Anthony Liguori On Mon, Aug 13, 2012 at 05:04:30PM +0300, Avi Kivity wrote: > On 08/13/2012 05:02 PM, Gleb Natapov wrote: > > >> IMO we need to fix CMOS reporting. > >> > >> (technically we shouldn't touch CMOS NVRAM at all; seabios should > >> discover memory size via fwcfg and program it itself. But it's > >> pointless to change it now) > >> > > Chipset we emulate does not support all those crazy memory values you > > can give to -m. > > Our chipset is a 440fx enhanced with fwcfg and other goodies, not a > plain 440fx. > It has registers to program DIMM slots configs. fwcfg does not enhanced it in any way. And you cannot program more than 4G memory there may be even less. So what do you mean by "program it itself"? Program CMOS itself? (What for? QEMU does not care). Or program 440fx DIMM config? > But it's true it probably doesn't support 82.66642kB RAM. It does not support much less exotic 4G. -- Gleb.