KVM : VMX: disable apicv by default
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.
Signed-off-by Yang Zhang <[email protected]>
--- arch/x86/kvm/vmx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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 );/*
Signature · 1 line
1.7.1
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.
Signed-off-by Yang Zhang <[email protected]>--- arch/x86/kvm/vmx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/x86/kvm/vmx.c +0
-0
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.