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)
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>

No differences found