From: "Jan Beulich" Subject: Re: [PATCH v2] xen: fix reboot/shutdown with running HVM guests Date: Thu, 05 Jun 2014 14:38:39 +0100 Message-ID: <53908EFF02000078000183F9@mail.emea.novell.com> References: <1401968858-46165-1-git-send-email-roger.pau@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 1WsXsR-0004S7-UD for xen-devel@lists.xenproject.org; Thu, 05 Jun 2014 13:38:44 +0000 In-Reply-To: <1401968858-46165-1-git-send-email-roger.pau@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: Roger Pau Monne Cc: Kevin Tian , Keir Fraser , Suravee Suthikulpanit , Eddie Dong , Aravind Gopalakrishnan , Jun Nakajima , xen-devel@lists.xenproject.org, Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org >>> On 05.06.14 at 13:47, wrote: > --- a/xen/arch/x86/hvm/vmx/vmx.c > +++ b/xen/arch/x86/hvm/vmx/vmx.c > @@ -83,6 +83,8 @@ static void vmx_invlpg_intercept(unsigned long vaddr); > > uint8_t __read_mostly posted_intr_vector; > > +DECLARE_PER_CPU(bool_t, vmxon); This needs to go in a suitable VMX header. And both of the early returns getting added in SVM and VMX code should get a brief comment attached what they are for. Jan