qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] net: add -netdev options to man page


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH] net: add -netdev options to man page
Date: Tue, 14 Aug 2012 14:25:51 +0100

Document the -netdev syntax which supercedes the older -net syntax.
This patch is a first step to making -netdev prominent in the QEMU
manual.

Reported-by: Anatoly Techtonik <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 qemu-options.hx |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/qemu-options.hx b/qemu-options.hx
index 47cb5bd..ea9b824 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1335,6 +1335,7 @@ Valid values for @var{type} are
 Not all devices are supported on all targets.  Use -net nic,model=?
 for a list of available devices for your target.
 
address@hidden -netdev user,address@hidden,@var{option}][,@var{option}][,...]
 @item -net user[,@var{option}][,@var{option}][,...]
 Use the user mode network stack which requires no administrator
 privilege to run. Valid options are:
@@ -1343,6 +1344,7 @@ privilege to run. Valid options are:
 @item address@hidden
 Connect user mode stack to VLAN @var{n} (@var{n} = 0 is the default).
 
address@hidden address@hidden
 @item address@hidden
 Assign symbolic name for use in monitor commands.
 
@@ -1468,6 +1470,7 @@ processed and applied to -net user. Mixing them with the 
new configuration
 syntax gives undefined results. Their use for new applications is discouraged
 as they will be removed from future versions.
 
address@hidden -netdev 
tap,address@hidden,address@hidden,address@hidden,address@hidden,address@hidden,address@hidden
 @item -net 
tap[,address@hidden,address@hidden,address@hidden,address@hidden,address@hidden,address@hidden,address@hidden
 Connect the host TAP network interface @var{name} to VLAN @var{n}.
 
@@ -1507,6 +1510,7 @@ qemu-system-i386 linux.img \
                  -net nic -net 
tap,"helper=/usr/local/libexec/qemu-bridge-helper"
 @end example
 
address@hidden -netdev bridge,address@hidden,address@hidden,address@hidden
 @item -net bridge[,address@hidden,address@hidden,address@hidden,address@hidden
 Connect a host TAP network interface to a host bridge device.
 
@@ -1529,6 +1533,7 @@ qemu-system-i386 linux.img -net bridge -net 
nic,model=virtio
 qemu-system-i386 linux.img -net bridge,br=qemubr0 -net nic,model=virtio
 @end example
 
address@hidden -netdev 
socket,address@hidden,address@hidden,address@hidden:@var{port}][,address@hidden:@var{port}]
 @item -net socket[,address@hidden,address@hidden,address@hidden 
[,address@hidden:@var{port}][,address@hidden:@var{port}]
 
 Connect the VLAN @var{n} to a remote VLAN in another QEMU virtual
@@ -1551,6 +1556,7 @@ qemu-system-i386 linux.img \
                  -net socket,connect=127.0.0.1:1234
 @end example
 
address@hidden -netdev 
socket,address@hidden,address@hidden,address@hidden:@var{port}[,address@hidden
 @item -net 
socket[,address@hidden,address@hidden,address@hidden,address@hidden:@var{port}[,address@hidden
 
 Create a VLAN @var{n} shared with another QEMU virtual
@@ -1602,6 +1608,7 @@ qemu-system-i386 linux.img \
                  -net socket,mcast=239.192.168.1:1102,localaddr=1.2.3.4
 @end example
 
address@hidden -netdev 
vde,address@hidden,address@hidden,address@hidden,address@hidden,address@hidden
 @item -net vde[,address@hidden,address@hidden,address@hidden 
[,address@hidden,address@hidden,address@hidden
 Connect VLAN @var{n} to PORT @var{n} of a vde switch running on host and
 listening for incoming connections on @var{socketpath}. Use GROUP 
@var{groupname}
-- 
1.7.10.4




reply via email to

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