]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/kvm/vmx.c
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)
commitae1f57670703656cc9f293722c3b8b6782f8ab3f
treefd4fdfaed468f32cc417fb2b67318dbf7310a23a
parentb34a80517bfcd917bc59d9670d8f465a564af3b9
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