]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Check for nested vmrun intercept before emulating vmrun
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 2 Aug 2010 14:46:44 +0000 (16:46 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:32 +0000 (10:50 +0200)
commitcd7d9af97bbfb742afa572a1152091f73dde87ee
treea2bb3effc2bfac345335bfecbdc9be52dafc7c00
parent0de4a033b27bc65d9e0620173094d0a1158f0666
KVM: SVM: Check for nested vmrun intercept before emulating vmrun

This patch lets the nested vmrun fail if the L1 hypervisor
has not intercepted vmrun. This fixes the "vmrun intercept
check" unit test.

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