aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-28 11:17:43 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-28 11:17:43 +0000
commit030370a210d7cc0293b6149566318b4585b307a8 (patch)
treea609ff2e7b4539ab4002f535e584d01157589107 /qemu-doc.texi
parentqemu-doc.texi: document downscript network option (diff)
downloadqemu-kvm-030370a210d7cc0293b6149566318b4585b307a8.tar.gz
qemu-kvm-030370a210d7cc0293b6149566318b4585b307a8.tar.bz2
qemu-kvm-030370a210d7cc0293b6149566318b4585b307a8.zip
qemu-doc.texi: rewrite the documentation for the -net option
Addresses comments from Jamie Lokier. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5807 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-doc.texi')
-rw-r--r--qemu-doc.texi16
1 files changed, 8 insertions, 8 deletions
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 16ec1ffa3..6ae3ca0e1 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -617,14 +617,14 @@ privilege to run. @option{hostname=name} can be used to specify the client
hostname reported by the builtin DHCP server.
@item -net tap[,vlan=@var{n}][,fd=@var{h}][,ifname=@var{name}][,script=@var{file}][,downscript=@var{dfile}]
-Connect the host TAP network interface @var{name} to VLAN @var{n} and
-use the network script @var{file} to configure it. The default
-network script is @file{/etc/qemu-ifup}. Use @option{script=no} to
-disable script execution. If @var{name} is not provided, the OS automatically
-provides one. Use network script @var{dfile} to deconfigure the interface. Use
-@option{downscript=no} to disable script execution. @option{fd}=@var{h} can be
-used to specify the handle of an already opened host TAP interface.
-Example:
+Connect the host TAP network interface @var{name} to VLAN @var{n}, use
+the network script @var{file} to configure it and the network script
+@var{dfile} to deconfigure it. If @var{name} is not provided, the OS
+automatically provides one. @option{fd}=@var{h} can be used to specify
+the handle of an already opened host TAP interface. The default network
+configure script is @file{/etc/qemu-ifup} and the default network
+deconfigure script is @file{/etc/qemu-ifdown}. Use @option{script=no}
+or @option{downscript=no} to disable script execution. Example:
@example
qemu linux.img -net nic -net tap