All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: "Li, Xin B" <xin.b.li@intel.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: memory calculation mismatch between e820 and guest RAM size
Date: Mon, 06 Aug 2007 16:35:20 +0100	[thread overview]
Message-ID: <C2DCFE48.13A18%keir@xensource.com> (raw)
In-Reply-To: <B30DA1341B0CFA4893EF8A36B40B5C5D017D46E5@pdsmsx411.ccr.corp.intel.com>

I don't understand what the problem is that you think needs fixing. All the
memory allocated in xc_hvm_build.c:setup_guest() is marked as E820_RAM in
the e820 map (except for EBDA and BIOSROM regions).

 -- Keir

On 6/8/07 16:28, "Li, Xin B" <xin.b.li@intel.com> wrote:

> In E820, tom of memory is guest memory size we give in the config file,
> but guest RAM we allocate is a little bigger than what E820 sets,
> because we don't allocate memory for VGA hole from 0xA0000 to 0xBFFFF.
> 2 ways to fix it:
> 1) align to current E820 setting, so need to change memory allocation
> code in tools.
> 2) align to guest memory allocation, so need to change e820 setting.
> Which one do you prefer?
> -Xin
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2007-08-06 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-06 15:28 memory calculation mismatch between e820 and guest RAM size Li, Xin B
2007-08-06 15:35 ` Keir Fraser [this message]
2007-08-06 15:41   ` Li, Xin B

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=C2DCFE48.13A18%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xin.b.li@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.