WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] memory calculation mismatch between e820 and guest RAM s

To: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Subject: Re: [Xen-devel] memory calculation mismatch between e820 and guest RAM size
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Mon, 06 Aug 2007 16:35:20 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Aug 2007 08:33:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B30DA1341B0CFA4893EF8A36B40B5C5D017D46E5@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfYPnjUKNGYkBnCQuKwy03XzQoIhgAAOyi+
Thread-topic: [Xen-devel] memory calculation mismatch between e820 and guest RAM size
User-agent: Microsoft-Entourage/11.3.3.061214
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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>