From: Tim Deegan Subject: Re: [PATCH v14 06/17] pvh: Disable unneeded features of HVM containers Date: Thu, 7 Nov 2013 18:02:38 +0100 Message-ID: <20131107170238.GC19904@deinos.phlegethon.org> References: <1383567306-6636-1-git-send-email-george.dunlap@eu.citrix.com> <1383567306-6636-7-git-send-email-george.dunlap@eu.citrix.com> <20131106235415.GC32964@deinos.phlegethon.org> <527B64B502000078001007F1@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <527B64B502000078001007F1@nat28.tlf.novell.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: Jan Beulich Cc: George Dunlap , Keir Fraser , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 09:00 +0000 on 07 Nov (1383811221), Jan Beulich wrote: > >>> On 07.11.13 at 00:54, Tim Deegan wrote: > >> @@ -528,10 +536,16 @@ int hvm_domain_initialise(struct domain *d) > >> if ( rc != 0 ) > >> goto fail0; > >> > >> + rc = -ENOMEM; > >> d->arch.hvm_domain.params = xzalloc_array(uint64_t, HVM_NR_PARAMS); > >> + if ( !d->arch.hvm_domain.params ) > >> + goto fail1; > >> + > >> + if ( is_pvh_domain(d) ) > >> + return 0; > > > > Doesn't this skip hvm_init_cacheattr_region_list() and > > paging_enable(), which are on your list of things to keep for PVH guests? > > No, patch 02 moved this up before the patch context seen > here. Ah, grand so. Acked-by: Tim Deegan