qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4] Use Aff1 with mpidr


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v4] Use Aff1 with mpidr
Date: Mon, 15 Jun 2015 08:40:12 +0100

On 15 June 2015 at 08:13, Pavel Fedin <address@hidden> wrote:
>  Hello!
>
>> > +int arm_cpus_per_cluster = 8;
>>
>> This doesn't need to be global, it doesn't need to be exposed in
>> a header file, and it definitely doesn't need to be non-constant.
>> I suggest
>> #define ARM_CPUS_PER_CLUSTER 8
>
>  It was a #define in v3, but i decided to change this in order to
> allow machine models to request different topology as Igor suggested.

For machine models to specify topology we would need a property
or properties on the QOM object for the machine model to set,
not a global. (And we'd need to have the code to see if KVM
supported setting arbitrary MPIDR values, and fail if not.)

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]