qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH RFC v2 43/47] qmp: Improve netdev_add usage example


From: Markus Armbruster
Subject: [Qemu-devel] [PATCH RFC v2 43/47] qmp: Improve netdev_add usage example in the manual
Date: Wed, 1 Jul 2015 22:22:31 +0200

Add a device option to show how it's done.

Signed-off-by: Markus Armbruster <address@hidden>
---
 qmp-commands.hx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/qmp-commands.hx b/qmp-commands.hx
index 874da31..351173e 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -892,7 +892,9 @@ Arguments:
 
 Example:
 
--> { "execute": "netdev_add", "arguments": { "type": "user", "id": "netdev1" } 
}
+-> { "execute": "netdev_add",
+     "arguments": { "type": "user", "id": "netdev1",
+                    "dnssearch": "example.org" } }
 <- { "return": {} }
 
 Note: The supported device options are the same ones supported by the '-netdev'
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]