[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] stable format of e820map for HVM domU's ?


  • To: "Andrew D. Ball" <aball@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Aca9W0hXhxj27ClOEdu4bwAKle7CWA==
  • Thread-topic: [Xen-devel] stable format of e820map for HVM domU's ?

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.