]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Don't allow nested guest to VMMCALL into host
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 5 May 2010 14:04:45 +0000 (16:04 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:36:38 +0000 (11:36 +0300)
commit52b270ef04cf420eb701a7c0823982a9974dd4a4
treec5c416d3214b73c35d33d68e980298d24ec76958
parent4b9c511d8f6ba4f88073ec1fc96d7c5277bc4c69
KVM: SVM: Don't allow nested guest to VMMCALL into host

This patch disables the possibility for a l2-guest to do a
VMMCALL directly into the host. This would happen if the
l1-hypervisor doesn't intercept VMMCALL and the l2-guest
executes this instruction.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c