RE: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology

2020-05-27 Thread Anup Patel
lmer Dabbelt > Subject: Re: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology > > On Wed, May 27, 2020 at 10:01:21AM +, Anup Patel wrote: > > > > > > > -Original Message- > > > From: Daniel P. Berrangé > > > Sent: 27 May 20

Re: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology

2020-05-27 Thread Daniel P . Berrangé
t; Palmer Dabbelt ; Alistair Francis > > ; Sagar Karandikar ; > > Atish Patra ; qemu-ri...@nongnu.org; qemu- > > de...@nongnu.org; Anup Patel > > Subject: Re: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology > > > > On Wed, May 27, 2020 at 09:48:39AM

RE: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology

2020-05-27 Thread Anup Patel
; de...@nongnu.org; Anup Patel > Subject: Re: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology > > On Wed, May 27, 2020 at 09:48:39AM +, Anup Patel wrote: > > > > > > > -Original Message- > > > From: Daniel P. Berrangé > >

Re: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology

2020-05-27 Thread Daniel P . Berrangé
t; Palmer Dabbelt ; Alistair Francis > > ; Sagar Karandikar ; > > Atish Patra ; qemu-ri...@nongnu.org; qemu- > > de...@nongnu.org; Anup Patel > > Subject: Re: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology > > > > On Wed, May 27, 2020 at 11:12:22AM +0530,

RE: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology

2020-05-27 Thread Anup Patel
; de...@nongnu.org; Anup Patel > Subject: Re: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology > > On Wed, May 27, 2020 at 11:12:22AM +0530, Anup Patel wrote: > > When "sockets" sub-option of "-smp" option is not specified, the > > smp_pa

Re: [PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology

2020-05-27 Thread Daniel P . Berrangé
On Wed, May 27, 2020 at 11:12:22AM +0530, Anup Patel wrote: > When "sockets" sub-option of "-smp" option is not specified, the > smp_parse() function will assume one CPU per-socket and set the > number of sockets equal to number of CPUs. > > This is counter-intuitive and we should allow machine em

[PATCH v2 1/5] hw: Add sockets_specified field in CpuTopology

2020-05-26 Thread Anup Patel
When "sockets" sub-option of "-smp" option is not specified, the smp_parse() function will assume one CPU per-socket and set the number of sockets equal to number of CPUs. This is counter-intuitive and we should allow machine emulation to decide default number of sockets when "sockets" sub-option