qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: "मनीष शर्मा" <manishs.in@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to increase ram beyond 756 MB ?
Date: Tue, 14 Jun 2011 11:22:57 +0100	[thread overview]
Message-ID: <BANLkTimc28wkNfbWELK+9qwjrSmCTig2GQ@mail.gmail.com> (raw)
In-Reply-To: <BANLkTikkX3aXyqnW_+zqP4aRta83corU5g@mail.gmail.com>

2011/6/14 मनीष शर्मा <manishs.in@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	other threads:[~2011-06-14 10:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 10:03 [Qemu-devel] How to increase ram beyond 756 MB ? मनीष शर्मा 
2011-06-14 10:22 ` Peter Maydell [this message]
     [not found]   ` <BANLkTin4ANwn91kMOa=WSA4SwB2bZAT6wg@mail.gmail.com>
2011-06-14 12:13     ` [Qemu-devel] Fwd: " मनीष शर्मा 

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimc28wkNfbWELK+9qwjrSmCTig2GQ@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=manishs.in@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).