KVM: x86 emulator: introduce struct x86_exception to communicate faults
authorAvi Kivity <avi@redhat.com>
Mon, 22 Nov 2010 15:53:21 +0000 (17:53 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:53 +0000 (11:29 +0200)
commit27bad34524a3a35af41628fcb6f7ec0eb75978af
treee0269a888731c630c9b64693b21d24b2821da362
parenta5201c6bafef077a8c169628399158bfd3a259e7
KVM: x86 emulator: introduce struct x86_exception to communicate faults

Introduce a structure that can contain an exception to be passed back
to main kvm code.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c