summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell2022-04-05 15:02:01 +0200
committerPeter Maydell2022-04-05 15:02:01 +0200
commit2e185fb65e3f3872d3fa921cef5a23368218b3b6 (patch)
treee43d5dde98af984d9658652b96ff815fb3c64a93
parentMerge tag 'pull-target-arm-20220405' of https://git.linaro.org/people/pmaydel... (diff)
parentqapi: Fix calc-dirty-rate example (diff)
downloadqemu-2e185fb65e3f3872d3fa921cef5a23368218b3b6.tar.gz
qemu-2e185fb65e3f3872d3fa921cef5a23368218b3b6.tar.xz
qemu-2e185fb65e3f3872d3fa921cef5a23368218b3b6.zip
Merge tag 'pull-qapi-2022-04-05' of git://repo.or.cz/qemu/armbru into staging
QAPI patches patches for 2022-04-05 # gpg: Signature made Tue 05 Apr 2022 11:32:05 BST # gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653 # gpg: issuer "armbru@redhat.com" # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full] # gpg: aka "Markus Armbruster <armbru@pond.sub.org>" [full] # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653 * tag 'pull-qapi-2022-04-05' of git://repo.or.cz/qemu/armbru: qapi: Fix calc-dirty-rate example qapi: fix example of query-memdev command qapi: fix example of query-cpus-fast command qapi: fix example of trace-event-get-state command qapi: fix example of query-colo-status command qapi: fix example of query-vnc command qapi: fix example of query-spice command qapi: fix example of query-named-block-nodes command qapi: fix examples: replay-break and replay-seek qapi: fix example of netdev_add command Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--qapi/block-core.json1
-rw-r--r--qapi/machine.json4
-rw-r--r--qapi/migration.json4
-rw-r--r--qapi/net.json2
-rw-r--r--qapi/replay.json4
-rw-r--r--qapi/trace.json2
-rw-r--r--qapi/ui.json3
7 files changed, 12 insertions, 8 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 4a7a6940a3..beeb91952a 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1776,6 +1776,7 @@
# "file":"disks/test.qcow2",
# "node-name": "my-node",
# "backing_file_depth":1,
+# "detect_zeroes":"off",
# "bps":1000000,
# "bps_rd":0,
# "bps_wr":0,
diff --git a/qapi/machine.json b/qapi/machine.json
index 9c460ec450..d25a481ce4 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -109,7 +109,6 @@
# "socket-id": 0
# },
# "qom-path": "/machine/unattached/device[0]",
-# "arch":"x86",
# "target":"x86_64",
# "cpu-index": 0
# },
@@ -121,7 +120,6 @@
# "socket-id": 1
# },
# "qom-path": "/machine/unattached/device[2]",
-# "arch":"x86",
# "target":"x86_64",
# "cpu-index": 1
# }
@@ -841,6 +839,7 @@
# "merge": false,
# "dump": true,
# "prealloc": false,
+# "share": false,
# "host-nodes": [0, 1],
# "policy": "bind"
# },
@@ -849,6 +848,7 @@
# "merge": false,
# "dump": true,
# "prealloc": true,
+# "share": false,
# "host-nodes": [2, 3],
# "policy": "preferred"
# }
diff --git a/qapi/migration.json b/qapi/migration.json
index 092a63354b..27d7b28158 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -1679,7 +1679,7 @@
# Example:
#
# -> { "execute": "query-colo-status" }
-# <- { "return": { "mode": "primary", "reason": "request" } }
+# <- { "return": { "mode": "primary", "last-mode": "none", "reason": "request" } }
#
# Since: 3.1
##
@@ -1845,7 +1845,7 @@
# Since: 5.2
#
# Example:
-# {"command": "calc-dirty-rate", "arguments": {"calc-time": 1,
+# {"execute": "calc-dirty-rate", "arguments": {"calc-time": 1,
# 'sample-pages': 512} }
#
##
diff --git a/qapi/net.json b/qapi/net.json
index 0d4578bd07..b92f3f5fb4 100644
--- a/qapi/net.json
+++ b/qapi/net.json
@@ -51,7 +51,7 @@
#
# -> { "execute": "netdev_add",
# "arguments": { "type": "user", "id": "netdev1",
-# "dnssearch": "example.org" } }
+# "dnssearch": [ { "str": "example.org" } ] } }
# <- { "return": {} }
#
##
diff --git a/qapi/replay.json b/qapi/replay.json
index b4d1ba253b..351898f60d 100644
--- a/qapi/replay.json
+++ b/qapi/replay.json
@@ -81,7 +81,7 @@
#
# Example:
#
-# -> { "execute": "replay-break", "data": { "icount": 220414 } }
+# -> { "execute": "replay-break", "arguments": { "icount": 220414 } }
#
##
{ 'command': 'replay-break', 'data': { 'icount': 'int' } }
@@ -117,6 +117,6 @@
#
# Example:
#
-# -> { "execute": "replay-seek", "data": { "icount": 220414 } }
+# -> { "execute": "replay-seek", "arguments": { "icount": 220414 } }
##
{ 'command': 'replay-seek', 'data': { 'icount': 'int' } }
diff --git a/qapi/trace.json b/qapi/trace.json
index 119509f565..6c6982a587 100644
--- a/qapi/trace.json
+++ b/qapi/trace.json
@@ -69,7 +69,7 @@
#
# -> { "execute": "trace-event-get-state",
# "arguments": { "name": "qemu_memalign" } }
-# <- { "return": [ { "name": "qemu_memalign", "state": "disabled" } ] }
+# <- { "return": [ { "name": "qemu_memalign", "state": "disabled", "vcpu": false } ] }
#
##
{ 'command': 'trace-event-get-state',
diff --git a/qapi/ui.json b/qapi/ui.json
index a810ed680c..13a8bb82aa 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -324,8 +324,10 @@
# "enabled": true,
# "auth": "spice",
# "port": 5920,
+# "migrated":false,
# "tls-port": 5921,
# "host": "0.0.0.0",
+# "mouse-mode":"client",
# "channels": [
# {
# "port": "54924",
@@ -656,6 +658,7 @@
# "host":"127.0.0.1",
# "service":"50401",
# "family":"ipv4"
+# "websocket":false,
# }
# ]
# }