From: Ian Jackson Subject: Re: [PATCH v3 3/8] hvmloader: Set up highmem resouce appropriately if there is no RAM above 4G Date: Fri, 21 Jun 2013 11:38:40 +0100 Message-ID: <20932.11568.820045.272681@mariner.uk.xensource.com> References: <1371746007-19073-1-git-send-email-george.dunlap@eu.citrix.com> <1371746007-19073-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: <1371746007-19073-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 v3 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 h igh > region, this is set to zero, which will cause hvmloader to use the "0" for th e 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 ca lculation; > otherwise, use 1<<32. Acked-by: Ian Jackson Ian.