qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 8/8] tests/unit/test-smp-parse.c: Test smp_props.has_clusters


From: Thomas Huth
Subject: Re: [PATCH 8/8] tests/unit/test-smp-parse.c: Test smp_props.has_clusters
Date: Fri, 1 Mar 2024 09:01:04 +0100
User-agent: Mozilla Thunderbird

On 18/01/2024 15.48, Zhao Liu wrote:
From: Zhao Liu <zhao1.liu@intel.com>

The smp_props.has_clusters in MachineClass is not a user configured
field, and it indicates if user specifies "clusters" in -smp.

After -smp parsing, other module could aware if the cluster level
is configured by user. This is used when the machine has only 1 cluster
since there's only 1 cluster by default.

Add the check to cover this field.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
  tests/unit/test-smp-parse.c | 20 ++++++++++++++------
  1 file changed, 14 insertions(+), 6 deletions(-)

Acked-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]