KVM: PPC: Fix SPRG get/set for Book3S and BookE
authorPeter Tyser <ptyser@xes-inc.com>
Wed, 29 Dec 2010 19:51:25 +0000 (13:51 -0600)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:25 +0000 (13:08 -0300)
commitbc9c1933d9db227d991736382ddca21ed520c0ea
tree40a1c2be80f165ace5f70e9fbf1d745b9b1978c2
parent775077a0634a4a2149c85a63ec319b1e426d0564
KVM: PPC: Fix SPRG get/set for Book3S and BookE

Previously SPRGs 4-7 were improperly read and written in
kvm_arch_vcpu_ioctl_get_regs() and kvm_arch_vcpu_ioctl_set_regs();

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/booke.c