qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Funny -m arguments can crash


From: Avi Kivity
Subject: Re: [Qemu-devel] Funny -m arguments can crash
Date: Wed, 08 Aug 2012 12:48:42 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]