KVM: inject #UD in 64bit mode from instruction that are not valid there
authorGleb Natapov <gleb@redhat.com>
Thu, 11 Feb 2010 12:43:14 +0000 (14:43 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:27:40 +0000 (12:27 +0300)
commit1161624f15f584096a0df3dda70403cd1d00721e
treefd2410a3a30476be1ec374ae26a537d6cff58d08
parent89a27f4d0e042a2fa3391a76b652aec3e16ef200
KVM: inject #UD in 64bit mode from instruction that are not valid there

Some instruction are obsolete in a long mode. Inject #UD.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c