x86/PVH: don't set EFER_SCE for pvh guest
authorMukesh Rathor <mukesh.rathor@oracle.com>
Fri, 22 Aug 2014 12:34:46 +0000 (14:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 Aug 2014 12:34:46 +0000 (14:34 +0200)
Just like NX is guest managed, SCE should be too. Remove setting of
the EFER_SCE for pvh guest.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/hvm.c

index e8f41c1d8178bfaeb74afbced9808a1e9b259ba6..94b18ba48c8f90b82ba9fc8b435e66076215e5f2 100644 (file)
@@ -2281,7 +2281,7 @@ int hvm_vcpu_initialise(struct vcpu *v)
     {
         v->arch.hvm_vcpu.hcall_64bit = 1;    /* PVH 32bitfixme. */
         /* This is for hvm_long_mode_enabled(v). */
-        v->arch.hvm_vcpu.guest_efer = EFER_SCE | EFER_LMA | EFER_LME;
+        v->arch.hvm_vcpu.guest_efer = EFER_LMA | EFER_LME;
         return 0;
     }