]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Do not emulate #UD while in guest mode
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 9 Mar 2015 19:56:43 +0000 (20:56 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 13 Mar 2015 16:44:43 +0000 (13:44 -0300)
commitfb2d0437a96aabd50631a5d14fca56273f88b821
treefd4fdfaed468f32cc417fb2b67318dbf7310a23a
parente9dcf047cd850de2fb01150143453032de87c3cc
KVM: nVMX: Do not emulate #UD while in guest mode

While in L2, leave all #UD to L2 and do not try to emulate it. If L1 is
interested in doing this, it reports its interest via the exception
bitmap, and we never get into handle_exception of L0 anyway.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c