From: "Jan Beulich" Subject: Re: [PATCH v15 08/19] pvh: vmx-specific changes Date: Tue, 12 Nov 2013 15:24:34 +0000 Message-ID: <5282564202000078001027F8@nat28.tlf.novell.com> References: <1384181841-22739-1-git-send-email-george.dunlap@eu.citrix.com> <1384181841-22739-9-git-send-email-george.dunlap@eu.citrix.com> <5282433F0200007800102619@nat28.tlf.novell.com> <528243E0.3090603@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VgFpZ-0008Mg-BP for xen-devel@lists.xenproject.org; Tue, 12 Nov 2013 15:24:41 +0000 In-Reply-To: <528243E0.3090603@eu.citrix.com> Content-Disposition: inline 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 , Tim Deegan , Eddie Dong , Jun Nakajima , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 12.11.13 at 16:06, George Dunlap wrote: > On 11/12/2013 02:03 PM, Jan Beulich wrote: >>>>> On 11.11.13 at 15:57, George Dunlap wrote: >>> --- a/xen/arch/x86/hvm/vmx/vmcs.c >>> +++ b/xen/arch/x86/hvm/vmx/vmcs.c >>> @@ -28,6 +28,7 @@ >>> #include >>> #include >>> #include >>> +#include >> >> Going through the changes below I can't see why you need this, >> and it also looks pretty far off for a PVH related change. > > It's needed for the HVM_CR4_RESERVED_BITS macro, which calls > nestedhvm_enabled(). I couldn't figure out a clean way to include > nestedhvm.h from hvm.h (ran into weird compilation errors), so just gave > up and added it in here. Fine then for now, albeit the proper change would be to move the declaration of nestedhvm_enabled() into hvm.h. Jan