]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Read out syscall instruction on trap
authorAlexander Graf <agraf@suse.de>
Mon, 8 Aug 2011 14:11:36 +0000 (16:11 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:22 +0000 (19:52 +0300)
commite78a8b24a6dde5d4dd910f8430ceb69db64907c7
tree38aafd0e46d019c32149587f10fcd02e88f93a4c
parentd4a4d3b3cc2a84dd40c3344704aa59cbdeaf4b1c
KVM: PPC: Read out syscall instruction on trap

We have a few traps where we cache the instruction that cause the trap
for analysis later on. Since we now need to be able to distinguish
between SC 0 and SC 1 system calls and the only way to find out which
is which is by looking at the instruction, we also read out the instruction
causing the system call.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_segment.S