qapi: Doc fixes
cover qapi: Doc fixes
John, this trivially conflicts with your work. Feel free to leave resolving the conflicts to me.
Machine core maintainers, feel free to ignore this mini-series entirely.
Markus Armbruster (2):
qapi/machine: Drop misleading (for OptsVisitor) doc qapi/compat: Belatedly update description of CompatPolicy
qapi/compat.json | 2 +- qapi/machine.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.55.0
PATCH 1/2 qapi/machine: Drop misleading (for OptsVisitor) doc
The QMP Reference Manual describes NumaOptions and NumaNodeOptions as "(for OptsVisitor)". This makes no sense; the OptsVisitor is a purely internal thing.
When commit 0042109a6a (NUMA: convert -numa option to use OptsVisitor) added these QAPI types, both "(for OptsVisitor)" were correct and merely schema comments. They have since become wrong (both types are part of QMP according to query-qmp-schema) and reference documentation.
Delete both instances.
--- qapi/machine.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
qapi/machine.json +2 -2
@@ -470,7 +470,7 @@ ## # @NumaOptions: # -# A discriminated record of NUMA options. (for OptsVisitor) +# A discriminated record of NUMA options. # # @type: NUMA option type #
@@ -489,7 +489,7 @@ ## # @NumaNodeOptions: # -# Create a guest NUMA node. (for OptsVisitor) +# Create a guest NUMA node. # # @nodeid: NUMA node ID (increase by 1 from 0 if omitted) #
Signature · 1 line
2.55.0
Re: [PATCH 1/2] qapi/machine: Drop misleading (for OptsVisitor) doc
Quoted 10 lines · Markus Armbruster
The QMP Reference Manual describes NumaOptions and NumaNodeOptions as "(for OptsVisitor)". This makes no sense; the OptsVisitor is a purely internal thing.
When commit
0042109a6a(NUMA: convert -numa option to use OptsVisitor) added these QAPI types, both "(for OptsVisitor)" were correct and merely schema comments. They have since become wrong (both types are part of QMP according to query-qmp-schema) and reference documentation.
Quoted 6 lines
Delete both instances.
Signed-off-by Markus Armbruster <[email protected]>--- qapi/machine.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
PATCH 2/2 qapi/compat: Belatedly update description of CompatPolicy
In reply to Markus Armbrusterinterfaces)
--- qapi/compat.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/compat.json +1 -1
@@ -40,7 +40,7 @@ ## # @CompatPolicy: # -# Policy for handling deprecated management interfaces. +# Policy for handling deprecated and unstable management interfaces. # # This is intended for testing users of the management interfaces. #
Signature · 1 line
2.55.0
Re: [PATCH 2/2] qapi/compat: Belatedly update description of CompatPolicy
Quoted 6 lines · Markus Armbruster
Fixes 57df0dff1a (qapi: Extend -compat to set policy for unstableinterfaces)
Signed-off-by Markus Armbruster <[email protected]>--- qapi/compat.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|