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] stable format of e820map for HVM domU's ?

To: "Andrew D. Ball" <aball@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] stable format of e820map for HVM domU's ?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 11 Aug 2006 16:31:58 +0100
Delivery-date: Fri, 11 Aug 2006 08:35:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1155306655.7822.11.camel@xxxxxxxxxxxxxxxxxxxxx>
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: Aca9W0hXhxj27ClOEdu4bwAKle7CWA==
Thread-topic: [Xen-devel] stable format of e820map for HVM domU's ?
User-agent: Microsoft-Entourage/11.2.5.060620
On 11/8/06 3:30 pm, "Andrew D. Ball" <aball@xxxxxxxxxx> wrote:

> What's the least likely to change way to get what I want out of here?
> 
> In this case, the type 17 entry's ending address is the capacity.  Can I
> always ignore the last 3 entries?  Should I use the type 17 entry as the
> last pseudo-physical one?  Some other way?

Scan the table and sum the 'usable' (i.e. E820_RAM) areas. It might change a
little bit in future, according to size of BIOS areas for example, but is
about as good a value as you're going to get.

How accurate do you think this number needs to be? Do you have some
dependency on its accuracy?

 -- Keir



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

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