summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Toso2022-04-01 13:07:12 +0200
committerMarkus Armbruster2022-04-05 12:30:45 +0200
commit9a9d101c5bd21fb2b4b8b06f66e3fde57e7b5dd7 (patch)
treef3dc63ec2096dc79bacafa50c545da46f6431c6c
parentMerge tag 'pull-ppc-20220404' of https://github.com/legoater/qemu into staging (diff)
downloadqemu-9a9d101c5bd21fb2b4b8b06f66e3fde57e7b5dd7.tar.gz
qemu-9a9d101c5bd21fb2b4b8b06f66e3fde57e7b5dd7.tar.xz
qemu-9a9d101c5bd21fb2b4b8b06f66e3fde57e7b5dd7.zip
qapi: fix example of netdev_add command
Example output has the optional member @dnssearch as string type. It should be an array of String objects instead. Fix it. For reference, see NetdevUserOptions. Signed-off-by: Victor Toso <victortoso@redhat.com> Message-Id: <20220401110712.26911-1-victortoso@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Commit message tweaked for precision] Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--qapi/net.json2
1 files changed, 1 insertions, 1 deletions
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": {} }
#
##