KVM: PPC: Set VSID_PR also for Book3S_64
authorAlexander Graf <agraf@suse.de>
Tue, 20 Apr 2010 00:49:51 +0000 (02:49 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:03 +0000 (12:19 +0300)
commit6355644190f67326f5a16d0269c3e612fcfd6889
treee1d6ce169651fac7d80eb22c1b95a13995d22893
parentac21467182e562a71d8b4e098ea054e42700c0ff
KVM: PPC: Set VSID_PR also for Book3S_64

Book3S_64 didn't set VSID_PR when we're in PR=1. This lead to pretty bad
behavior when searching for the shadow segment, as part of the code relied
on VSID_PR being set.

This patch fixes booting Book3S_64 guests.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_64_mmu.c