KVM: VMX: Support for injecting software exceptions
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 15 Dec 2008 12:52:10 +0000 (13:52 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:48 +0000 (11:02 +0200)
commit8ab2d2e231062814bd89bba2d6d92563190aa2bb
tree7091abac4d05e6fc74bd8462cbd0fdaf06ec37e0
parentd80174745ba3938bc6abb8f95ed670ac0631a182
KVM: VMX: Support for injecting software exceptions

VMX differentiates between processor and software generated exceptions
when injecting them into the guest. Extend vmx_queue_exception
accordingly (and refactor related constants) so that we can use this
service reliably for the new guest debugging framework.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c