From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz2sp-0005zX-MS for qemu-devel@nongnu.org; Wed, 08 Aug 2012 05:48:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz2si-00047D-2I for qemu-devel@nongnu.org; Wed, 08 Aug 2012 05:48:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz2sh-000470-QU for qemu-devel@nongnu.org; Wed, 08 Aug 2012 05:48:47 -0400 Message-ID: <502235FA.6050903@redhat.com> Date: Wed, 08 Aug 2012 12:48:42 +0300 From: Avi Kivity MIME-Version: 1.0 References: <87629cvz5b.fsf@blackfin.pond.sub.org> <87ipd8s7zs.fsf@blackfin.pond.sub.org> <87y5m1be5q.fsf@blackfin.pond.sub.org> <87wr1921rd.fsf@blackfin.pond.sub.org> In-Reply-To: <87wr1921rd.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Funny -m arguments can crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Blue Swirl , jan.kiszka@siemens.com, qemu-devel@nongnu.org, peter.maydell@linaro.org On 08/08/2012 12:04 PM, Markus Armbruster wrote: >> >> Yes please, maybe with a notice to the user. > > Next problem: minimum RAM size. > > For instance, -M pc -m X, where X < 32KiB dies "qemu: fatal: Trying to > execute code outside RAM or ROM at [...] Aborted (core dumped)" with > TCG, and "KVM internal error. Suberror: 1" with KVM. > > Should a minimum RAM size be enforced? Board-specific? > It's really a BIOS bug causing a limitation of both kvm and tcg to be hit. The BIOS should recognize it doesn't have sufficient memory and hang gracefully (if you can picture that). It just assumes some low memory is available and tries to execute it with the results you got. -- error compiling committee.c: too many arguments to function