From: Gordan Bobic Subject: Re: =?utf-8?q?HVM_support_for_e820=5Fhost_=28Was=3A_Bug?= =?utf-8?q?=3A_Limitation_of_=3C=3D2GB_RAM_in_domU_persists_with_4=2E3=2E0?= =?utf-8?q?=29?= Date: Thu, 05 Sep 2013 11:26:02 +0100 Message-ID: References: "\"<1374798084.10269.2.camel@hastur.hellion.org.uk> <20130729180431.GQ5848@phenom.dumpdata.com> " <20130903145934.GC1487@konrad-lan.dumpdata.com>" <52263CBD.1090402@bobich.net> "\"<52264826.3010402@bobich.net> <20130903210833.GB13777@phenom.dumpdata.com>" " <20130905020442.GA2459@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130905020442.GA2459@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 4 Sep 2013 22:04:42 -0400, Konrad Rzeszutek Wilk wrote: > diff --git a/tools/firmware/hvmloader/e820.h > b/tools/firmware/hvmloader/e820.h > index b2ead7f..2fa700d 100644 > --- a/tools/firmware/hvmloader/e820.h > +++ b/tools/firmware/hvmloader/e820.h > @@ -8,6 +8,9 @@ > #define E820_RESERVED 2 > #define E820_ACPI 3 > #define E820_NVS 4 > +#define E820_UNUSABLE 5 > + > +#define E820MAX 128 > > struct e820entry { > uint64_t addr; I don't think we actually need +#define E820_UNUSABLE 5 any more because it is no longer used anywhere in the patch. Do we need that extra e820 hole type? I guess it's only useful if we want to explicitly signify that a memory hole is inherited from the host e820 map, rather than _really_ needed. Otherwise we could probably just use E820_RESERVED in it's place. Gordan