summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorYang Zhang <yang.z.zhang@Intel.com>2013-02-10 22:57:18 +0800
committerGleb Natapov <gleb@redhat.com>2013-02-11 10:51:13 +0200
commit257090f70233084488f7b3ebe99be8c159a23281 (patch)
tree5e4cba620fa3525b4c075433d616ee636b8a63d1 /arch/x86/kvm/vmx.c
parent79fd50c67f91136add9726fb7719b57a66c6f763 (diff)
KVM: VMX: disable apicv by default
Without Posted Interrupt, current code is broken. Just disable by default until Posted Interrupt is ready. Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index fe09fdc5624c..c7944782ecf6 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -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