xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xc_cpuid_x86.c: No need to mask NX twice
@ 2014-09-05 10:11 Zhuo Song
  2014-09-05 10:32 ` Jan Beulich
  0 siblings, 1 reply; 16+ messages in thread
From: Zhuo Song @ 2014-09-05 10:11 UTC (permalink / raw)
  To: xen-devel
  Cc: ian.campbell, stefano.stabellini, jinsong.liu, ian.jackson,
	Zhuo Song, Zhuo Song, boyu.mt

Since amd_xc_cpuid_policy or intel_xc_cpuid_policy will do it later as
well, we may drop an extra action.

Signed-off-by: Zhuo Song <songzhuo.sz@alibaba-inc.com>
---
 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)

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-09-09  4:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 10:11 [PATCH] xc_cpuid_x86.c: No need to mask NX twice Zhuo Song
2014-09-05 10:32 ` Jan Beulich
2014-09-05 13:54   ` z
2014-09-05 14:10     ` Jan Beulich
2014-09-05 15:45       ` z
2014-09-05 16:09         ` Jan Beulich
2014-09-05 16:35           ` z
2014-09-08  6:59             ` Jan Beulich
2014-09-08  8:48               ` z
2014-09-08  9:09                 ` Jan Beulich
2014-09-08  9:56                   ` z
2014-09-08 10:54                     ` Jan Beulich
2014-09-08 12:07                       ` z
2014-09-08 14:43                 ` z
2014-09-08 15:07                   ` Jan Beulich
2014-09-09  4:48                     ` z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).