KVM: PPC: Add PV guest scratch registers
authorAlexander Graf <agraf@suse.de>
Thu, 29 Jul 2010 12:47:50 +0000 (14:47 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:46 +0000 (10:50 +0200)
commitfad93fe1d452960eb838109222cc949eb77f2859
tree927f014698698a27ad6aad5f4132dd3b42879793
parent5c6cedf488a1144ac4f683f3ea1a642533d1dcd2
KVM: PPC: Add PV guest scratch registers

While running in hooked code we need to store register contents out because
we must not clobber any registers.

So let's add some fields to the shared page we can just happily write to.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_para.h