diff options
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r-- | arch/x86/kvm/svm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 2511664ff671..4a66ffe1dc87 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -2036,6 +2036,9 @@ static bool nested_svm_vmrun(struct vcpu_svm *svm) | |||
2036 | svm->vmcb->control.intercept_cr_write &= ~INTERCEPT_CR8_MASK; | 2036 | svm->vmcb->control.intercept_cr_write &= ~INTERCEPT_CR8_MASK; |
2037 | } | 2037 | } |
2038 | 2038 | ||
2039 | /* We don't want to see VMMCALLs from a nested guest */ | ||
2040 | svm->vmcb->control.intercept &= ~(1ULL << INTERCEPT_VMMCALL); | ||
2041 | |||
2039 | /* | 2042 | /* |
2040 | * We don't want a nested guest to be more powerful than the guest, so | 2043 | * We don't want a nested guest to be more powerful than the guest, so |
2041 | * all intercepts are ORed | 2044 | * all intercepts are ORed |