Skip to contentSkip to conversation

PVH: Don't set EFER_SCE for pvh guest

PATCH In review Mukesh Rathor 2 participants 2 messages Aug 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PVH: Don't set EFER_SCE for pvh guest

Just like NX is guest managed, SCE should be too. Remove setting of the EFER_SCE for pvh guest.

---
 xen/arch/x86/hvm/hvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/hvm/hvm.c +1 -1
index d40c48e..7ec618b 100644
@@ -2283,7 +2283,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;
     }
 
Signature · 1 line
1.8.3.1