Skip to contentSkip to conversation

KVM : VMX: disable apicv by default

PATCH Superseded Yang Zhang 2 participants 2 messages Feb 9, 2013 – Feb 10, 2013

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Yang Zhang

author
#0 lore raw

PATCH 1/1 KVM : VMX: disable apicv by default

From: Yang Zhang <[email protected]>

Without Posted Interrupt, current code is broken. Just disable by default until Posted Interrupt is ready.

---
 arch/x86/kvm/vmx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/vmx.c +1 -1
index fe9a9cf..27233a1 100644
@@ -84,7 +84,7 @@ module_param(vmm_exclusive, bool, S_IRUGO);
 static bool __read_mostly fasteoi = 1;
 module_param(fasteoi, bool, S_IRUGO);
 
-static bool __read_mostly enable_apicv_reg_vid = 1;
+static bool __read_mostly enable_apicv_reg_vid;
 module_param(enable_apicv_reg_vid, bool, S_IRUGO);
 
 /*
Signature · 1 line
1.7.1
#1 lore raw
Quoted 15 lines · Yang Zhang

From: Yang Zhang <[email protected]>

Without Posted Interrupt, current code is broken. Just disable by default until Posted Interrupt is ready.

---
 arch/x86/kvm/vmx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/vmx.c +0 -0
index fe9a9cf..27233a1 100644

arch/x86/kvm/vmx.c module_param(vmm_exclusive, bool, S_IRUGO); · line 88

Quoted 6 lines
arch/x86/kvm/vmx.c +1 -1
@@ -84,7 +84,7 @@ module_param(vmm_exclusive, bool, S_IRUGO);
 static bool __read_mostly fasteoi = 1;
 module_param(fasteoi, bool, S_IRUGO);
 
-static bool __read_mostly enable_apicv_reg_vid = 1;
+static bool __read_mostly enable_apicv_reg_vid;
 module_param(enable_apicv_reg_vid, bool, S_IRUGO);

There is not point to let user enable broken option. Drop the module parameter for now too.

--
Gleb.