]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Handle vmx instruction vmexits
authorAvi Kivity <avi@redhat.com>
Tue, 16 Jun 2009 11:19:52 +0000 (14:19 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 28 Jun 2009 11:10:31 +0000 (14:10 +0300)
commit2c4d8a0afa93f9e9aeb65d9dd62954e78d2a388a
tree57de5664b9fefca3de7d50ad6b6dc652f8570bf5
parentdb2329746ac6e4b2cea3f7b0f9f143725b3737a8
KVM: VMX: Handle vmx instruction vmexits

IF a guest tries to use vmx instructions, inject a #UD to let it know the
instruction is not implemented, rather than crashing.

This prevents guest userspace from crashing the guest kernel.

Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c