From: Ian Campbell Subject: Re: [V10 PATCH 14/23] PVH xen: additional changes to support PVH guest creation and execution. Date: Thu, 8 Aug 2013 09:21:58 +0100 Message-ID: <1375950118.619.60.camel@kazak.uk.xensource.com> References: <1374631171-15224-1-git-send-email-mukesh.rathor@oracle.com> <1374631171-15224-15-git-send-email-mukesh.rathor@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: "xen-devel@lists.xensource.com" , "keir.xen@gmail.com" List-Id: xen-devel@lists.xenproject.org On Wed, 2013-08-07 at 16:50 +0100, George Dunlap wrote: > On Wed, Jul 24, 2013 at 2:59 AM, Mukesh Rathor wrote: > > > > @@ -443,6 +445,9 @@ long do_domctl(XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl) > > domcr_flags = 0; > > if ( op->u.createdomain.flags & XEN_DOMCTL_CDF_hvm_guest ) > > domcr_flags |= DOMCRF_hvm; > > + else if ( op->u.createdomain.flags & XEN_DOMCTL_CDF_hap ) > > + domcr_flags |= DOMCRF_pvh; /* PV with HAP is a PVH guest */ > > Um, wait a minute -- I don't think we want to exclude the possibility > of *ever* having PVH with shadow pagetables, do we? Wouldn't it make > more sense to just add XEN_DOMCTL_CDF_pvh_guest? This is a domctl so we can always change the interface if it comes to it. Ian.