KVM: powerpc: Fix mtsrin in book3s_64 mmu
authorAlexander Graf <agraf@suse.de>
Sat, 19 Dec 2009 17:07:39 +0000 (18:07 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Sun, 27 Dec 2009 15:36:34 +0000 (13:36 -0200)
We were shifting the Ks/Kp/N bits one bit too far on mtsrin. It took
me some time to figure that out, so I also put in some debugging and a
comment explaining the conversion.

This fixes current OpenBIOS boot on PPC64 KVM.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found