Skip to contentSkip to conversation

KVM: VMX: disable apicv by default

PATCH Applied Yang Zhang 2 participants 2 messages Feb 10, 2013 – Feb 11, 2013

Subsystems (3)
lore
Share & tools
lore

Yang Zhang

author
#0 lore raw

PATCH v2 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 |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
arch/x86/kvm/vmx.c +1 -2
index fe9a9cf..fa637c8 100644
@@ -84,8 +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;
-module_param(enable_apicv_reg_vid, bool, S_IRUGO);
+static bool __read_mostly enable_apicv_reg_vid;
 
 /*
  * If nested=1, nested virtualization is supported, i.e., guests may use
Signature · 1 line
1.7.1
Applied
#1 lore raw
Quoted 5 lines · Yang Zhang

From: Yang Zhang <[email protected]>

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

Thanks, applied.

Quoted 21 lines
---
 arch/x86/kvm/vmx.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
arch/x86/kvm/vmx.c +1 -2
index fe9a9cf..fa637c8 100644
@@ -84,8 +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;
-module_param(enable_apicv_reg_vid, bool, S_IRUGO);
+static bool __read_mostly enable_apicv_reg_vid;
 
 /*
  * If nested=1, nested virtualization is supported, i.e., guests may use
Signature · 1 line
1.7.1

--
Gleb.