[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/10] qapi: fix example of netdev_add command
From: |
Markus Armbruster |
Subject: |
[PULL 01/10] qapi: fix example of netdev_add command |
Date: |
Tue, 5 Apr 2022 12:34:46 +0200 |
From: Victor Toso <victortoso@redhat.com>
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>
---
qapi/net.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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": {} }
#
##
--
2.35.1
- [PULL 00/10] QAPI patches patches for 2022-04-05, Markus Armbruster, 2022/04/05
- [PULL 05/10] qapi: fix example of query-vnc command, Markus Armbruster, 2022/04/05
- [PULL 01/10] qapi: fix example of netdev_add command,
Markus Armbruster <=
- [PULL 09/10] qapi: fix example of query-memdev command, Markus Armbruster, 2022/04/05
- [PULL 10/10] qapi: Fix calc-dirty-rate example, Markus Armbruster, 2022/04/05
- [PULL 04/10] qapi: fix example of query-spice command, Markus Armbruster, 2022/04/05
- [PULL 07/10] qapi: fix example of trace-event-get-state command, Markus Armbruster, 2022/04/05
- [PULL 08/10] qapi: fix example of query-cpus-fast command, Markus Armbruster, 2022/04/05
- [PULL 06/10] qapi: fix example of query-colo-status command, Markus Armbruster, 2022/04/05
- [PULL 03/10] qapi: fix example of query-named-block-nodes command, Markus Armbruster, 2022/04/05
- [PULL 02/10] qapi: fix examples: replay-break and replay-seek, Markus Armbruster, 2022/04/05
- Re: [PULL 00/10] QAPI patches patches for 2022-04-05, Peter Maydell, 2022/04/05