2011/6/14 मनीष शर्मा <manishs...@gmail.com>:
> I am using arm on x86, running Linux 2.6.33 as guest and fedora 14 as host.
> And using Realview board inside Qemu Machine.

Do you mean "realview-eb", "realview-eb-mpcore", "realview-pb-a9",
or "realview-pbx-a9" ? They are different models.

> Even though I passed 1024 MB as qemu memory in command line,
> I can only see ~756MB given to guest. Also I tried passing more than
> 1024 MB say 2048 MB But I am unable to see increase in RAM in Guest OS.
> I checked the /proc/meminfo for guest OS memory details.

For both "realview-eb" and "realview-eb-mpcore" the maximum memory
allowed is 256MB, because the hardware we are modelled has an
address space layout which does not permit more. If you're using
those models, then to use more RAM you must use a different model.

"realview-pb-a9" and "realview-pbx-a9" should both in theory
support 1024MB of RAM as a maximum. Typically to make this work
you need to both pass QEMU the "-m 1024" option (to model the
extra RAM) and also pass the guest kernel an option like "mem=1024M".
(However the pb-a9 hardware has 512MB of RAM as a maximum and
we are providing extra modelled RAM in a "reserved" section of
the address space, so it's possible the guest kernel wouldn't
try to use it.)

-- PMM

Reply via email to