Re: [PATCH] KVM: PPC: e500: Don't hardcode PIR=0

Scott Wood
2011-09-02T18:14:55Z

On 09/02/2011 10:12 AM, Alexander Graf wrote:
>
> Am 02.09.2011 um 01:08 schrieb Scott Wood <scottwood@freescale.com>:
>
>> Signed-off-by: Scott Wood <scottwood@freescale.com>
>
> Patch description missing.

It's not missing, it's just brief. :-)

I suppose you could add "The hardcoded behavior prevents SMP support.
QEMU shall specify the vcpu's PIR as the vcpu id".

> Also, since pir == vcpu_id now, can't we just remove pir?

>From sregs? Is that worth the compatibility breakage? We could define
a new bit for ARCH206 without PIR, but older QEMU would then not see the
other ARCH206 stuff.

-Scott