aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index fa1c4977e1c2..f6578cee6bb6 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1398,7 +1398,7 @@ static void init_vmcb(struct vcpu_svm *svm)
1398 set_intercept(svm, INTERCEPT_XSETBV); 1398 set_intercept(svm, INTERCEPT_XSETBV);
1399 set_intercept(svm, INTERCEPT_RSM); 1399 set_intercept(svm, INTERCEPT_RSM);
1400 1400
1401 if (!kvm_mwait_in_guest()) { 1401 if (!kvm_mwait_in_guest(svm->vcpu.kvm)) {
1402 set_intercept(svm, INTERCEPT_MONITOR); 1402 set_intercept(svm, INTERCEPT_MONITOR);
1403 set_intercept(svm, INTERCEPT_MWAIT); 1403 set_intercept(svm, INTERCEPT_MWAIT);
1404 } 1404 }