From: Tim Deegan Subject: Re: [V11 PATCH 1/4] pvh dom0: construct_dom0 changes Date: Thu, 8 May 2014 14:05:46 +0200 Message-ID: <20140508120546.GD17960@deinos.phlegethon.org> References: <1398995707-12657-1-git-send-email-mukesh.rathor@oracle.com> <1398995707-12657-2-git-send-email-mukesh.rathor@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WiN5F-000721-2f for xen-devel@lists.xenproject.org; Thu, 08 May 2014 12:05:53 +0000 Content-Disposition: inline In-Reply-To: <1398995707-12657-2-git-send-email-mukesh.rathor@oracle.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: Mukesh Rathor Cc: George.Dunlap@eu.citrix.com, xen-devel@lists.xenproject.org, keir.xen@gmail.com, JBeulich@suse.com List-Id: xen-devel@lists.xenproject.org At 18:55 -0700 on 01 May (1398966904), Mukesh Rathor wrote: > This patch changes construct_dom0() to boot in pvh mode: > - Make sure dom0 elf supports pvh mode. > - Call guest_physmap_add_page for pvh rather than simple p2m setting > - Map all non-RAM regions 1:1 upto the end region in e820 or 4GB which > ever is higher. > - Allocate p2m, copying calculation from toolstack. > - Allocate shared info page from the virtual space so that dom0 PT > can be updated. Then update p2m for it with the actual mfn. > - Since we build the page tables for pvh same as for pv, in > pvh_fixup_page_tables_for_hap we replace the mfns with pfns. > > Signed-off-by: Mukesh Rathor > Reviewed-by: Jan Beulich For the x86/mm changes (even though I would have preferred that to be a paging_* API rather than a hap_* one): Acked-by: Tim Deegan