Skip to contentSkip to conversation

qapi: Belatedly update CompatPolicy documentation for unstable

PATCH In review Markus Armbruster 2 participants 4 messages Oct 9, 2023 – Oct 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qapi: Belatedly update CompatPolicy documentation for unstable

Commit 57df0dff1a1 (qapi: Extend -compat to set policy for unstable interfaces) neglected to update the "Limitation" paragraph to mention feature 'unstable' in addition to feature 'deprecated'. Do that now.

---
 qapi/compat.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
qapi/compat.json +2 -2
index f4c19837eb..42034d9368 100644
@@ -43,8 +43,8 @@
 # This is intended for testing users of the management interfaces.
 #
 # Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged
-# with feature 'deprecated'.  We may want to extend it to cover
-# semantic aspects and CLI.
+# with feature 'deprecated' or 'unstable'.  We may want to extend it
+# to cover semantic aspects and CLI.
 #
 # Limitation: deprecated-output policy @hide is not implemented for
 # enumeration values.  They behave the same as with policy @accept.
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Markus Armbruster

Commit 57df0dff1a1 (qapi: Extend -compat to set policy for unstable interfaces) neglected to update the "Limitation" paragraph to mention

With retrospective, 'experimental' seems more meaningful. Anyway, too late.

Quoted 12 lines

feature 'unstable' in addition to feature 'deprecated'. Do that now.

---
  qapi/compat.json | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
qapi/compat.json +0 -0
index f4c19837eb..42034d9368 100644

qapi/compat.json line 47

Quoted 7 lines
qapi/compat.json +2 -2
@@ -43,8 +43,8 @@
  # This is intended for testing users of the management interfaces.
  #
  # Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged
-# with feature 'deprecated'.  We may want to extend it to cover
-# semantic aspects and CLI.
+# with feature 'deprecated' or 'unstable'.  We may want to extend it
+# to cover semantic aspects and CLI.
#2 lore raw
Quoted 6 lines · Philippe Mathieu-Daudé
Quoted 2 lines · Markus Armbruster

Commit 57df0dff1a1 (qapi: Extend -compat to set policy for unstable interfaces) neglected to update the "Limitation" paragraph to mention

With retrospective, 'experimental' seems more meaningful. Anyway, too late.

Experiments are a major use for interfaces without stability promise, but there's also debugging aids and such.

Quoted 11 lines
Quoted 11 lines

feature 'unstable' in addition to feature 'deprecated'. Do that now.

---
  qapi/compat.json | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
qapi/compat.json +0 -0
index f4c19837eb..42034d9368 100644
@@ -43,8 +43,8 @@
  # This is intended for testing users of the management interfaces.
Quoted 8 lines

qapi/compat.json line 47

Quoted 6 lines
qapi/compat.json +2 -2
  #
  # Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged
-# with feature 'deprecated'.  We may want to extend it to cover
-# semantic aspects and CLI.
+# with feature 'deprecated' or 'unstable'.  We may want to extend it
+# to cover semantic aspects and CLI.

Thanks!