From: "Jan Beulich" Subject: Re: [PATCH] xc_cpuid_x86.c: No need to mask NX twice Date: Fri, 05 Sep 2014 11:32:46 +0100 Message-ID: <5409AD6E0200007800031618@mail.emea.novell.com> References: <1409911893-18037-1-git-send-email-alfred.z.song@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1409911893-18037-1-git-send-email-alfred.z.song@gmail.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: Zhuo Song Cc: ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, jinsong.liu@alibaba-inc.com, ian.jackson@eu.citrix.com, Zhuo Song , boyu.mt@alibaba-inc.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 05.09.14 at 12:11, wrote: > Since amd_xc_cpuid_policy or intel_xc_cpuid_policy will do it later as > well, we may drop an extra action. But then I think it would be better to keep the generic one and drop the vendor specific ones. Jan > Signed-off-by: Zhuo Song > --- > tools/libxc/xc_cpuid_x86.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c > index 6b81641..61af3e6 100644 > --- a/tools/libxc/xc_cpuid_x86.c > +++ b/tools/libxc/xc_cpuid_x86.c > @@ -392,7 +392,6 @@ static void xc_cpuid_hvm_policy( > > case 0x80000001: > if ( !is_pae ) { > - clear_bit(X86_FEATURE_NX, regs[3]); > clear_bit(X86_FEATURE_PSE36, regs[3]); > } > break; > -- > 1.8.5.2 (Apple Git-48) > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel