[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 02/16] machine: Deprecate "parameter=0" SMP configurations
|
From: |
Cornelia Huck |
|
Subject: |
Re: [PATCH v6 02/16] machine: Deprecate "parameter=0" SMP configurations |
|
Date: |
Thu, 19 Aug 2021 13:42:06 +0200 |
|
User-agent: |
Notmuch/0.32.1 (https://notmuchmail.org) |
On Thu, Aug 19 2021, Yanan Wang <wangyanan55@huawei.com> 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 parameter
> of it specified as zero (e.g. -smp 8,sockets=0) which could
> possibly cause unexpected results in the -smp parsing. So we
> deprecate this kind of configurations since 6.2 by adding the
> explicit sanity check.
>
> Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
> ---
> docs/about/deprecated.rst | 15 +++++++++++++++
> hw/core/machine.c | 14 ++++++++++++++
> qapi/machine.json | 2 +-
> qemu-options.hx | 12 +++++++-----
> 4 files changed, 37 insertions(+), 6 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
[PATCH v6 06/16] machine: Improve the error reporting of smp parsing, Yanan Wang, 2021/08/18
[PATCH v6 09/16] machine: Use ms instead of global current_machine in sanity-check, Yanan Wang, 2021/08/18
[PATCH v6 11/16] machine: Make smp_parse generic enough for all arches, Yanan Wang, 2021/08/18
[PATCH v6 08/16] machine: Prefer cores over sockets in smp parsing since 6.2, Yanan Wang, 2021/08/18
[PATCH v6 02/16] machine: Deprecate "parameter=0" SMP configurations, Yanan Wang, 2021/08/18
- Re: [PATCH v6 02/16] machine: Deprecate "parameter=0" SMP configurations,
Cornelia Huck <=
[PATCH v6 13/16] machine: Move smp_prefer_sockets to struct SMPCompatProps, Yanan Wang, 2021/08/18
[PATCH v6 04/16] machine: Uniformly use maxcpus to calculate the omitted parameters, Yanan Wang, 2021/08/18
[PATCH v6 10/16] machine: Tweak the order of topology members in struct CpuTopology, Yanan Wang, 2021/08/18
[PATCH v6 12/16] machine: Remove smp_parse callback from MachineClass, Yanan Wang, 2021/08/18
[PATCH v6 14/16] machine: Put all sanity-check in the generic SMP parser, Yanan Wang, 2021/08/18
[PATCH v6 07/16] hw: Add compat machines for 6.2, Yanan Wang, 2021/08/18
[PATCH v6 15/16] machine: Split out the smp parsing code, Yanan Wang, 2021/08/18
[PATCH v6 16/16] tests/unit: Add a unit test for smp parsing, Yanan Wang, 2021/08/18