qapi/machine: Place the 'Notes' tag after the 'Since' tag
PATCH 1/1 qapi/machine: Place the 'Notes' tag after the 'Since' tag
This fixes when adding a 'Since' tag:
In file included from qapi/qapi-schema.json:105:
qapi/machine.json:25:1: '@arch:' can't follow 'Notes' section
--- qapi/machine.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
qapi/machine.json +2 -2
@@ -16,11 +16,11 @@ # individual target constants are not documented here, for the time # being. # +# Since: 3.0 +# # Notes: The resulting QMP strings can be appended to the "qemu-system-" # prefix to produce the corresponding QEMU executable name. This # is true even for "qemu-system-x86_64". -# -# Since: 3.0 ## { 'enum' : 'SysEmuTarget', 'data' : [ 'aarch64', 'alpha', 'arm', 'cris', 'hppa', 'i386', 'lm32',
Signature · 1 line
2.21.1
Quoted 19 lines · Philippe Mathieu-Daudé
This fixes when adding a 'Since' tag:
In file included from
qapi/qapi-schema.json:105:
qapi/machine.json:25:1: '@arch:' can't follow 'Notes' sectionSigned-off-by Philippe Mathieu-Daudé <[email protected]>--- qapi/machine.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)qapi/machine.json +0
-0@@ -16,11 +16,11 @@ # individual target constants are not documented here, for the time # being. #
qapi/machine.json line 26
Quoted 10 lines
qapi/machine.json +2
-2+# Since: 3.0 +# # Notes: The resulting QMP strings can be appended to the "qemu-system-" # prefix to produce the corresponding QEMU executable name. This # is true even for "qemu-system-x86_64". -# -# Since: 3.0 ## { 'enum' : 'SysEmuTarget', 'data' : [ 'aarch64', 'alpha', 'arm', 'cris', 'hppa', 'i386', 'lm32',
Does the same issue occur for @CpuInstanceProperties: at line 829? The 'Since:' follows a 'Note:' section (but maybe the singular usage is intended).
otherwise
Quoted 26 lines · Liam Merwick
Quoted 25 lines · Philippe Mathieu-Daudé
This fixes when adding a 'Since' tag:
In file included from
qapi/qapi-schema.json:105:
qapi/machine.json:25:1: '@arch:' can't follow 'Notes' sectionSigned-off-by Philippe Mathieu-Daudé <[email protected]>---
qapi/machine.json| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)qapi/machine.json +2
-2@@ -16,11 +16,11 @@ # individual target constants are not documented here, for the time # being. # +# Since: 3.0 +# # Notes: The resulting QMP strings can be appended to the "qemu-system-" # prefix to produce the corresponding QEMU executable name. This # is true even for "qemu-system-x86_64". -# -# Since: 3.0
Quoted 8 lines
qapi/machine.json line 26
Quoted 4 lines
qapi/machine.json +0
-0## { 'enum' : 'SysEmuTarget', 'data' : [ 'aarch64', 'alpha', 'arm', 'cris', 'hppa', 'i386', 'lm32',Does the same issue occur for @CpuInstanceProperties: at line 829? The 'Since:' follows a 'Note:' section (but maybe the singular usage is intended).
Ah thanks for checking other cases. Yes, the same error should occur.
Quoted 4 lines
otherwise
Reviewed-by Liam Merwick <[email protected]>
Thanks! I'll respin with the other entry fixed.