From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH 08/18] PVH xen: tools changes to create PVH domain Date: Fri, 30 Aug 2013 11:27:20 +0100 Message-ID: <52207388.6020802@eu.citrix.com> References: <1369445137-19755-1-git-send-email-mukesh.rathor@oracle.com> <1369445137-19755-9-git-send-email-mukesh.rathor@oracle.com> <1371049088.24512.450.camel@zakaz.uk.xensource.com> <20130614171437.49f55cea@mantra.us.oracle.com> <1371467494.23802.49.camel@zakaz.uk.xensource.com> <20130730164716.10969419@mantra.us.oracle.com> <1375272057.7382.24.camel@kazak.uk.xensource.com> <20130731190213.0b57efd0@mantra.us.oracle.com> <1377775784.11455.23.camel@kazak.uk.xensource.com> <20130829182425.20b56e2d@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130829182425.20b56e2d@mantra.us.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: "Xen-devel@lists.xensource.com" , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 30/08/13 02:24, Mukesh Rathor wrote: > On Thu, 29 Aug 2013 12:29:44 +0100 > Ian Campbell wrote: > >> On Thu, 2013-08-29 at 12:13 +0100, George Dunlap wrote: >>> On Thu, Aug 1, 2013 at 3:02 AM, Mukesh Rathor >>> wrote: >>>>> I'm not sure how you are currently signalling to the hypervisor >>>>> that a new domain is a PVH domain? I had a look through this >>>>> patch and must be being thick because I don't see it. >>>> I had a flag set, but it was recommended during RFC to remove it. >>>> So, now in xen, a PV with HAP is a PVH guest: >>> Why was it recommended to remove it? >>> >>> "PVH == PV + HAP" is a ridiculous interface, and one which will make >>> it hard to import shadow in the future. In my series I'm planning >>> on adding XEN_DOMCTL_CDF_pvh_guest, and using that instead. >> These are not stable ABI interfaces, so if someone wants to do PVH >> with Shadow then they can just change it. > I thought we named PVH for PV with HAP :).. for shadow are we going > to rename it to PVS?? :)..... Besides for shadow the tools do the right > thing: > > arch_setup_meminit(): > if ( xc_dom_feature_translated(dom) && !dom->pvh_enabled ) > { > dom->shadow_enabled = 1; > rc = x86_shadow(dom->xch, dom->guest_domid); > .. > > In any case, I am ok either way... But you said "it was recommended to remove it". Who recommended removing it and why? -George