Re: [PATCH v11 01/14] machine: Deprecate "parameter=0" SMP configurations

2021-09-28 Thread wangyanan (Y)
On 2021/9/28 17:58, Daniel P. Berrangé wrote: On Tue, Sep 28, 2021 at 11:57:42AM +0800, Yanan Wang wrote: In the SMP configuration, we should either provide a topology parameter with a reasonable value (greater than zero) or just omit it and QEMU will compute the missing value. The users shou

Re: [PATCH v11 01/14] machine: Deprecate "parameter=0" SMP configurations

2021-09-28 Thread Daniel P . Berrangé
On Tue, Sep 28, 2021 at 11:57:42AM +0800, Yanan Wang wrote: > In the SMP configuration, we should either provide a topology > parameter with a reasonable value (greater than zero) or just > omit it and QEMU will compute the missing value. > > The users shouldn't provide a configuration with any pa

[PATCH v11 01/14] machine: Deprecate "parameter=0" SMP configurations

2021-09-27 Thread Yanan Wang
In the SMP configuration, we should either provide a topology parameter with a reasonable value (greater than zero) or just omit it and QEMU will compute the missing value. The users shouldn't provide a configuration with any parameter of it specified as zero (e.g. -smp 8,sockets=0) which could po