summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Zhang <yang.z.zhang@Intel.com>2013-02-10 15:57:18 +0100
committerGleb Natapov <gleb@redhat.com>2013-02-11 09:51:13 +0100
commit257090f70233084488f7b3ebe99be8c159a23281 (patch)
tree5e4cba620fa3525b4c075433d616ee636b8a63d1
parentKVM: s390: Fix handling of iscs. (diff)
downloadlinux-257090f70233084488f7b3ebe99be8c159a23281.tar.xz
linux-257090f70233084488f7b3ebe99be8c159a23281.zip
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>
-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