summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorYanan Wang <wangyanan55@huawei.com>2021-09-29 10:58:01 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-01 15:27:56 +0200
commit7237c7ce772794d6be10b8b987fe4d02dfd76562 (patch)
tree89195173f25befb298445c8d44736ce8dfc5f2dd
parentbb4aa8f59e18412cff0d69f14aee7abba153161a (diff)
downloadfocaccia-qemu-7237c7ce772794d6be10b8b987fe4d02dfd76562.tar.gz
focaccia-qemu-7237c7ce772794d6be10b8b987fe4d02dfd76562.zip
qapi/machine: Fix an incorrect comment of SMPConfiguration
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>
-rw-r--r--qapi/machine.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/machine.json b/qapi/machine.json
index f1c4983b64..0e91a57a76 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -1393,7 +1393,7 @@
 #
 # @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
 #