qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Set memory size per machine


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Set memory size per machine
Date: Sun, 20 Apr 2008 09:57:35 +0300

On 4/20/08, andrzej zaborowski <address@hidden> wrote:
> This patch lets a machine decide on the amount of space it'll use in
>  phys_ram_base in addition to that specified with "-m", default is
>  zero.  Currently that amount was the maximum of BIOS size + VGA RAM
>  size over all machines of all archs, and that was not enough for the
>  MusicPal and even if extended it may be not enough for a machine
>  supported in the future.
>
>  This also lets a machine OR the specified value with a RAMSIZE_FIXED
>  flag to indicate that it ignores the value given with "-m" (true for
>  almost half of the machines in qemu).

In addition to minimum, higher level code could handle the maximum
memory size supported, like sun4m.c does currently. Then I'd use
ram_min and ram_max or something similar.

>  +#define RAMSIZE_FIXED  (1 << 0)
>  +    size_t ram_require;
>  +    const char *boot_letters;

boot_letters?




reply via email to

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