qapi/machine: Fix an incorrect comment of SMPConfiguration
authorYanan Wang <wangyanan55@huawei.com>
Wed, 29 Sep 2021 02:58:01 +0000 (10:58 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 13:27:56 +0000 (15:27 +0200)
The explanation of @cores should be "number of cores per die" but
not "number of cores per thread". Let's fix it.

Fixes: 1e63fe685804 ("machine: pass QAPI struct to mc->smp_parse")
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210929025816.21076-2-wangyanan55@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qapi/machine.json

index f1c4983b64d4dacb5e515daaa3d3f5ef6fb219ac..0e91a57a76b1e6269b4f9e49539c63ebeee27358 100644 (file)
 #
 # @dies: number of dies per socket in the CPU topology
 #
-# @cores: number of cores per thread in the CPU topology
+# @cores: number of cores per die in the CPU topology
 #
 # @threads: number of threads per core in the CPU topology
 #