]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: x86 emulator: make emulator memory callbacks return full exception
authorAvi Kivity <avi@redhat.com>
Mon, 22 Nov 2010 15:53:22 +0000 (17:53 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:54 +0000 (11:29 +0200)
commitbcc55cba9f1fcda68412c8c3d8579c56d90b16f2
tree1f4c45ad993e66effaaf2aa0bc7d2ebade6c41d0
parentda9cb575b1127f84984b8ad6d973dcc05ac036dd
KVM: x86 emulator: make emulator memory callbacks return full exception

This way, they can return #GP, not just #PF.

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