|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 3/3] xc_cpuid_x86.c: Remove conditional for SYSCALL masking
vmx_cpuid_intercept() has covered it when vmexit and original is_64bit
or is_pae could not cover whether guest OS is really in long mode or not.
Here to leave it to vmexit handler to do the real work.
Signed-off-by: Zhuo Song <songzhuo.sz@xxxxxxxxxxxxxxx>
---
tools/libxc/xc_cpuid_x86.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c
index a4829ce..41b6e94 100644
--- a/tools/libxc/xc_cpuid_x86.c
+++ b/tools/libxc/xc_cpuid_x86.c
@@ -192,7 +192,7 @@ static void intel_xc_cpuid_policy(
bitmaskof(X86_FEATURE_ABM);
regs[3] &= (bitmaskof(X86_FEATURE_NX) |
bitmaskof(X86_FEATURE_LM) |
- (is_pae ? bitmaskof(X86_FEATURE_SYSCALL) : 0) |
+ bitmaskof(X86_FEATURE_SYSCALL) |
bitmaskof(X86_FEATURE_RDTSCP));
break;
}
--
1.8.5.2 (Apple Git-48)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |