Re: [Qemu-devel] [RFC 1/4] numa, spapr: add thread-id in the possible_cpus list

2019-02-13 Thread Igor Mammedov
On Wed, 13 Feb 2019 10:08:24 +0100 Laurent Vivier wrote: > On 13/02/2019 09:42, Igor Mammedov wrote: > > On Wed, 13 Feb 2019 12:25:45 +1100 > > David Gibson wrote: > > > >> On Tue, Feb 12, 2019 at 10:48:24PM +0100, Laurent Vivier wrote: > >>> spapr_possible_cpu_arch_ids() counts only cores,

Re: [Qemu-devel] [RFC 1/4] numa, spapr: add thread-id in the possible_cpus list

2019-02-13 Thread Laurent Vivier
On 13/02/2019 09:42, Igor Mammedov wrote: On Wed, 13 Feb 2019 12:25:45 +1100 David Gibson wrote: On Tue, Feb 12, 2019 at 10:48:24PM +0100, Laurent Vivier wrote: spapr_possible_cpu_arch_ids() counts only cores, and so the number of available CPUs is the number of vCPU divided by smp_threads.

Re: [Qemu-devel] [RFC 1/4] numa, spapr: add thread-id in the possible_cpus list

2019-02-13 Thread Igor Mammedov
On Wed, 13 Feb 2019 12:25:45 +1100 David Gibson wrote: > On Tue, Feb 12, 2019 at 10:48:24PM +0100, Laurent Vivier wrote: > > spapr_possible_cpu_arch_ids() counts only cores, and so > > the number of available CPUs is the number of vCPU divided > > by smp_threads. > > > > ... -smp 4,maxcpus=8,cor

Re: [Qemu-devel] [RFC 1/4] numa, spapr: add thread-id in the possible_cpus list

2019-02-12 Thread David Gibson
On Tue, Feb 12, 2019 at 10:48:24PM +0100, Laurent Vivier wrote: > spapr_possible_cpu_arch_ids() counts only cores, and so > the number of available CPUs is the number of vCPU divided > by smp_threads. > > ... -smp 4,maxcpus=8,cores=2,threads=2,sockets=2 -numa node,cpus=0,cpus=1 \ >

[Qemu-devel] [RFC 1/4] numa, spapr: add thread-id in the possible_cpus list

2019-02-12 Thread Laurent Vivier
spapr_possible_cpu_arch_ids() counts only cores, and so the number of available CPUs is the number of vCPU divided by smp_threads. ... -smp 4,maxcpus=8,cores=2,threads=2,sockets=2 -numa node,cpus=0,cpus=1 \ -numa node,cpus=3,cpus=4 \