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)
commit0d945bd9351199744c1e89d57a70615b6ee9f394
treec5c416d3214b73c35d33d68e980298d24ec76958
parent3f0fd2927b737c0ac2e04af7858b60d1e927d4b1
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