From: Ian Jackson Subject: Re: [PATCH v4 3/8] hvmloader: Set up highmem resouce appropriately if there is no RAM above 4G Date: Fri, 21 Jun 2013 11:50:06 +0100 Message-ID: <20932.12254.955950.60176@mariner.uk.xensource.com> References: <1371811594-31135-1-git-send-email-george.dunlap@eu.citrix.com> <1371811594-31135-4-git-send-email-george.dunlap@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1371811594-31135-4-git-send-email-george.dunlap@eu.citrix.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: George Dunlap Cc: Keir Fraser , Hanweidong , Stefano Stabellini , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org George Dunlap writes ("[PATCH v4 3/8] hvmloader: Set up highmem resouce appropriately if there is no RAM above 4G"): > hvmloader will read hvm_info->high_mem_pgend to calculate where to > start the highmem PCI region. However, if the guest does not have any > memory in the high region, this is set to zero, which will cause > hvmloader to use the "0" for the base of the highmem region, rather > than 1 << 32. > > Check to see whether hvm_info->high_mem_pgend is set; if so, do the > normal calculation; otherwise, use 1<<32. > > v4: > > - Handle case where hfm_info->high_mem_pgend is non-zero but doesn't > point into high memory, throwing a warning. Acked-by: Ian Jackson