KVM: PPC: e500: Don't hardcode PIR=0
authorScott Wood <scottwood@freescale.com>
Fri, 2 Sep 2011 22:39:37 +0000 (17:39 -0500)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:24 +0000 (14:52 +0200)
commit841741f23b91088810e657a535b8aa683136d870
treeeae3be26cfc18bc2ca5bfec51504196ded2b6de1
parent303b7c97e369ec3d7ab7ba0551030160ce3f838a
KVM: PPC: e500: Don't hardcode PIR=0

The hardcoded behavior prevents proper SMP support.

user space shall specify the vcpu's PIR as the vcpu id.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/e500.c