From: Keir Fraser Subject: Re: stable format of e820map for HVM domU's ? Date: Fri, 11 Aug 2006 16:31:58 +0100 Message-ID: References: <1155306655.7822.11.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1155306655.7822.11.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Andrew D. Ball" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 11/8/06 3:30 pm, "Andrew D. Ball" 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