aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r--drivers/kvm/svm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c
index ddc0505c3374..0542d3357ce1 100644
--- a/drivers/kvm/svm.c
+++ b/drivers/kvm/svm.c
@@ -511,7 +511,9 @@ static void init_vmcb(struct vmcb *vmcb)
511 (1ULL << INTERCEPT_VMSAVE) | 511 (1ULL << INTERCEPT_VMSAVE) |
512 (1ULL << INTERCEPT_STGI) | 512 (1ULL << INTERCEPT_STGI) |
513 (1ULL << INTERCEPT_CLGI) | 513 (1ULL << INTERCEPT_CLGI) |
514 (1ULL << INTERCEPT_SKINIT); 514 (1ULL << INTERCEPT_SKINIT) |
515 (1ULL << INTERCEPT_MONITOR) |
516 (1ULL << INTERCEPT_MWAIT);
515 517
516 control->iopm_base_pa = iopm_base; 518 control->iopm_base_pa = iopm_base;
517 control->msrpm_base_pa = msrpm_base; 519 control->msrpm_base_pa = msrpm_base;
@@ -1292,6 +1294,8 @@ static int (*svm_exit_handlers[])(struct kvm_vcpu *vcpu,
1292 [SVM_EXIT_STGI] = invalid_op_interception, 1294 [SVM_EXIT_STGI] = invalid_op_interception,
1293 [SVM_EXIT_CLGI] = invalid_op_interception, 1295 [SVM_EXIT_CLGI] = invalid_op_interception,
1294 [SVM_EXIT_SKINIT] = invalid_op_interception, 1296 [SVM_EXIT_SKINIT] = invalid_op_interception,
1297 [SVM_EXIT_MONITOR] = invalid_op_interception,
1298 [SVM_EXIT_MWAIT] = invalid_op_interception,
1295}; 1299};
1296 1300
1297 1301