KVM: x86 emulator: simplify exception generation
authorAvi Kivity <avi@redhat.com>
Mon, 22 Nov 2010 15:53:25 +0000 (17:53 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:58 +0000 (11:29 +0200)
commit35d3d4a1dd2c1ffd6f2481f6d8ad6c358bb22f07
tree5e306a209b6f015cf72ed9467ae5a0176cdffdc7
parentdb297e3d8ed8409b969512c3ecd9d13223f2981c
KVM: x86 emulator: simplify exception generation

Immediately after we generate an exception, we want a X86EMUL_PROPAGATE_FAULT
constant, so return it from the generation functions.

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