Re: [Qemu-devel] [PATCH v2] ppc: introduce CPUPPCState::cpu_dt_id

2013-11-04 Thread Paolo Bonzini
Il 01/11/2013 04:21, Alexey Kardashevskiy ha scritto: Normally CPUState::cpu_index is used to pick the right CPU for various operations. However default consecutive numbering does not always work for POWERPC. For example, on POWER7 (which supports 4 threads per core), -smp 8,threads=4

Re: [Qemu-devel] [PATCH v2] ppc: introduce CPUPPCState::cpu_dt_id

2013-11-04 Thread Alexey Kardashevskiy
On 11/04/2013 09:00 PM, Paolo Bonzini wrote: Il 01/11/2013 04:21, Alexey Kardashevskiy ha scritto: Normally CPUState::cpu_index is used to pick the right CPU for various operations. However default consecutive numbering does not always work for POWERPC. For example, on POWER7 (which supports

[Qemu-devel] [PATCH v2] ppc: introduce CPUPPCState::cpu_dt_id

2013-10-31 Thread Alexey Kardashevskiy
Normally CPUState::cpu_index is used to pick the right CPU for various operations. However default consecutive numbering does not always work for POWERPC. For example, on POWER7 (which supports 4 threads per core), -smp 8,threads=4 should create CPUs with indexes 0,1,2,3,4,5,6,7 and -smp