]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: do not allow VMRUN inside SMM
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Apr 2020 14:52:48 +0000 (10:52 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Apr 2020 16:53:18 +0000 (12:53 -0400)
commit7182dd784640bc06811864df2650839187614626
tree93ec5dd829f65006b556012b53c0897ac0fe64f3
parenteef2414adb577f305076d73b0693682e3ee7726a
KVM: SVM: do not allow VMRUN inside SMM

VMRUN is not supported inside the SMM handler and the behavior is undefined.
Just raise a #UD.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c