[PATCH] KVM: PPC: Fix SPRG get/set for Book3S and BookE

Marcelo Tosatti mtosatti at redhat.com
Fri Jan 7 03:39:58 EST 2011


On Wed, Dec 29, 2010 at 01:51:25PM -0600, Peter Tyser wrote:
> 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: Peter Tyser <ptyser at xes-inc.com>
> ---
> I noticed this while grepping for somthing unrelated and assume its
> a typo.  Feel free to add to the patch description; I don't use KVM
> so don't know what the high-level consequences of this change are.
> 
>  arch/powerpc/kvm/book3s.c |   14 ++++++++------
>  arch/powerpc/kvm/booke.c  |   14 ++++++++------
>  2 files changed, 16 insertions(+), 12 deletions(-)

Applied, thanks.



More information about the Linuxppc-dev mailing list