Skip to contentSkip to conversation

qapi: fix mistake in example command illustration

PATCH In review Daniel P. Berrangé 3 participants 3 messages Feb 23, 2022 – Feb 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qapi: fix mistake in example command illustration

The snapshot-load/save/delete commands illustrated their usage, but mistakenly used 'data' rather than 'arguments' as the field name.

---
 qapi/migration.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
qapi/migration.json +3 -3
index 5975a0e104..1c6296897d 100644
@@ -1888,7 +1888,7 @@
 # Example:
 #
 # -> { "execute": "snapshot-save",
-#      "data": {
+#      "arguments": {
 #         "job-id": "snapsave0",
 #         "tag": "my-snap",
 #         "vmstate": "disk0",
@@ -1949,7 +1949,7 @@
 # Example:
 #
 # -> { "execute": "snapshot-load",
-#      "data": {
+#      "arguments": {
 #         "job-id": "snapload0",
 #         "tag": "my-snap",
 #         "vmstate": "disk0",
@@ -2002,7 +2002,7 @@
 # Example:
 #
 # -> { "execute": "snapshot-delete",
-#      "data": {
+#      "arguments": {
 #         "job-id": "snapdelete0",
 #         "tag": "my-snap",
 #         "devices": ["disk0", "disk1"]
Signature · 1 line
2.34.1
#1 lore raw
Quoted 4 lines · * Daniel P. Berrangé ([email protected]) wrote:

The snapshot-load/save/delete commands illustrated their usage, but mistakenly used 'data' rather than 'arguments' as the field name.

Fabian Holler's patch from yesterday beat you to it slightly; I think Markus has it queued.

([email protected] )

Quoted 38 lines
---
 qapi/migration.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
qapi/migration.json +3 -3
index 5975a0e104..1c6296897d 100644
@@ -1888,7 +1888,7 @@
 # Example:
 #
 # -> { "execute": "snapshot-save",
-#      "data": {
+#      "arguments": {
 #         "job-id": "snapsave0",
 #         "tag": "my-snap",
 #         "vmstate": "disk0",
@@ -1949,7 +1949,7 @@
 # Example:
 #
 # -> { "execute": "snapshot-load",
-#      "data": {
+#      "arguments": {
 #         "job-id": "snapload0",
 #         "tag": "my-snap",
 #         "vmstate": "disk0",
@@ -2002,7 +2002,7 @@
 # Example:
 #
 # -> { "execute": "snapshot-delete",
-#      "data": {
+#      "arguments": {
 #         "job-id": "snapdelete0",
 #         "tag": "my-snap",
 #         "devices": ["disk0", "disk1"]
Signature · 1 line
2.34.1
Signature · 1 line
Dr. David Alan Gilbert / [email protected] / Manchester, UK