qapi/machine.json: Fix missing newline in doc comment
PATCH 1/1 qapi/machine.json: Fix missing newline in doc comment
In commit 176d2cda0dee9f4 we added the @die-id field to the CpuInstanceProperties struct, but in the process accidentally removed the newline between the doc-comment lines for @core-id and @thread-id.
Put the newline back in; this fixes a misformatting in the generated HTML QMP reference manual.
---
Not very important but I've suggested for-5.1 as it's a safe docs fix. You can see the misrendered doc at
https://www.qemu.org/docs/master/interop/qemu-qmp-ref.html#index-CpuInstanceProperties
qapi/machine.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
qapi/machine.json +2 -1
@@ -825,7 +825,8 @@ # @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) -# @core-id: core number within die the CPU belongs to# @thread-id: thread number within core the CPU belongs to +# @core-id: core number within die the CPU belongs to +# @thread-id: thread number within core the CPU belongs to # # Note: currently there are 5 properties that could be present # but management should be prepared to pass through other
Signature · 1 line
2.20.1
Quoted 5 lines · Peter Maydell
In commit
176d2cda0dee9f4we added the @die-id field to the CpuInstanceProperties struct, but in the process accidentally removed the newline between the doc-comment lines for @core-id and @thread-id.
Quoted 8 lines
Put the newline back in; this fixes a misformatting in the generated HTML QMP reference manual.
Signed-off-by Peter Maydell <[email protected]>---
Not very important but I've suggested for-5.1 as it's a safe docs fix. You can see the misrendered doc at
https://www.qemu.org/docs/master/interop/qemu-qmp-ref.html#index-CpuInstanceProperties
Quoted 19 lines
qapi/machine.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)qapi/machine.json +2
-1@@ -825,7 +825,8 @@ # @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) -# @core-id: core number within die the CPU belongs to# @thread-id: thread number within core the CPU belongs to +# @core-id: core number within die the CPU belongs to +# @thread-id: thread number within core the CPU belongs to # # Note: currently there are 5 properties that could be present # but management should be prepared to pass through other
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
Quoted 23 lines · Peter Maydell
In commit
176d2cda0dee9f4we added the @die-id field to the CpuInstanceProperties struct, but in the process accidentally removed the newline between the doc-comment lines for @core-id and @thread-id.Put the newline back in; this fixes a misformatting in the generated HTML QMP reference manual.
Signed-off-by Peter Maydell <[email protected]>---
Not very important but I've suggested for-5.1 as it's a safe docs fix. You can see the misrendered doc at
https://www.qemu.org/docs/master/interop/qemu-qmp-ref.html#index-CpuInstancePropertiesqapi/machine.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)qapi/machine.json +0
-0
qapi/machine.json line 832
Quoted 9 lines
qapi/machine.json +2
-1@@ -825,7 +825,8 @@ # @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) -# @core-id: core number within die the CPU belongs to# @thread-id: thread number within core the CPU belongs to +# @core-id: core number within die the CPU belongs to +# @thread-id: thread number within core the CPU belongs to # # Note: currently there are 5 properties that could be present # but management should be prepared to pass through other
Markus Armbruster
AppliedQuoted 5 lines · Peter Maydell
In commit
176d2cda0dee9f4we added the @die-id field to the CpuInstanceProperties struct, but in the process accidentally removed the newline between the doc-comment lines for @core-id and @thread-id.
Quoted 8 lines
Put the newline back in; this fixes a misformatting in the generated HTML QMP reference manual.
Signed-off-by Peter Maydell <[email protected]>---
Not very important but I've suggested for-5.1 as it's a safe docs fix. You can see the misrendered doc at
https://www.qemu.org/docs/master/interop/qemu-qmp-ref.html#index-CpuInstanceProperties
Makes sense.
Queued, thanks!