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)
commitda9cb575b1127f84984b8ad6d973dcc05ac036dd
treee0269a888731c630c9b64693b21d24b2821da362
parenta4ee1ca4a36e7857d90ae8c2b85f1bde9a042c10
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