]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Remove fetch fail code
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:50 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:41 +0000 (12:18 +0300)
commit8a93ebae163151f4f09cd3e1985d5a5f3fbb4321
tree648c375a0313e5387140751678d59c3c753d66c1
parent79adb9e247cafbd21e36eaa3357615678ab4f3fb
KVM: PPC: Remove fetch fail code

When instruction fetch failed, the inline function hook automatically
detects that and starts the internal guest memory load function. So
whenever we access kvmppc_get_last_inst(), we're sure the result is sane.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/emulate.c