Skip to contentSkip to conversation

qapi/machine.json: Fix incorrect description for die-id

PATCH In review Yanan Wang via 2 participants 2 messages Nov 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qapi/machine.json: Fix incorrect description for die-id

In terms of scope, die-id should mean "the die number within socket the CPU belongs to" instead of "the die number within node/board the CPU belongs to". Fix it to avoid confusing the Doc reader.

Fixes 176d2cda0d ("i386/cpu: Consolidate die-id validity in smp context")
---
 qapi/machine.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/machine.json +1 -1
index 067e3f5378..f1839acf20 100644
@@ -867,7 +867,7 @@
 #
 # @node-id: NUMA node ID the CPU belongs to
 # @socket-id: socket number within node/board the CPU belongs to
-# @die-id: die number within node/board the CPU belongs to (Since 4.1)
+# @die-id: die number within socket the CPU belongs to (since 4.1)
 # @core-id: core number within die the CPU belongs to
 # @thread-id: thread number within core the CPU belongs to
 #
Signature · 1 line
2.19.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Yanan Wang

In terms of scope, die-id should mean "the die number within socket the CPU belongs to" instead of "the die number within node/board the CPU belongs to". Fix it to avoid confusing the Doc reader.

Fixes 176d2cda0d ("i386/cpu: Consolidate die-id validity in smp context")
---
 qapi/machine.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 17 lines
qapi/machine.json +1 -1
index 067e3f5378..f1839acf20 100644
@@ -867,7 +867,7 @@
 #
 # @node-id: NUMA node ID the CPU belongs to
 # @socket-id: socket number within node/board the CPU belongs to
-# @die-id: die number within node/board the CPU belongs to (Since 4.1)
+# @die-id: die number within socket the CPU belongs to (since 4.1)
 # @core-id: core number within die the CPU belongs to
 # @thread-id: thread number within core the CPU belongs to
 #
Signature · 1 line
2.19.1
Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org