From: "Jan Beulich" Subject: Re: [PATCH 5/7] Nested VMX: Check whether interrupt is blocked by TPR Date: Fri, 09 Aug 2013 13:16:11 +0100 Message-ID: <5204F9AB02000078000EAB40@nat28.tlf.novell.com> References: <1376038175-18571-1-git-send-email-yang.z.zhang@intel.com> <1376038175-18571-6-git-send-email-yang.z.zhang@intel.com> <5204C7E9.3060207@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1V7lc6-0008Ny-P0 for xen-devel@lists.xenproject.org; Fri, 09 Aug 2013 12:16:14 +0000 In-Reply-To: <5204C7E9.3060207@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: Andrew Cooper , Yang Zhang Cc: xen-devel , keir.xen@gmail.com List-Id: xen-devel@lists.xenproject.org >>> On 09.08.13 at 12:43, Andrew Cooper wrote: >> --- a/xen/arch/x86/hvm/vmx/intr.c >> +++ b/xen/arch/x86/hvm/vmx/intr.c >> @@ -165,6 +165,11 @@ static int nvmx_intr_intercept(struct vcpu *v, struct hvm_intack intack) >> { >> u32 ctrl; >> >> + /* If blocked by L1's tpr, then do nothing*/ > > As you need to respin, please have a space at the end of the sentence > before */ And a period. See CODING_STYLE. Also, I think rather than "do nothing", "nothing to do" would better describe things here. Jan