qemu-doc.texi: document downscript network option

From Guido Günther, through the Debian BTS.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5806 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aurel32 2008-11-28 10:11:17 +00:00
parent 01a4afeb99
commit f5fc997546
1 changed files with 6 additions and 4 deletions

View File

@ -616,13 +616,15 @@ Use the user mode network stack which requires no administrator
privilege to run. @option{hostname=name} can be used to specify the client privilege to run. @option{hostname=name} can be used to specify the client
hostname reported by the builtin DHCP server. hostname reported by the builtin DHCP server.
@item -net tap[,vlan=@var{n}][,fd=@var{h}][,ifname=@var{name}][,script=@var{file}] @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 Connect the host TAP network interface @var{name} to VLAN @var{n} and
use the network script @var{file} to configure it. The default use the network script @var{file} to configure it. The default
network script is @file{/etc/qemu-ifup}. Use @option{script=no} to network script is @file{/etc/qemu-ifup}. Use @option{script=no} to
disable script execution. If @var{name} is not disable script execution. If @var{name} is not provided, the OS automatically
provided, the OS automatically provides one. @option{fd}=@var{h} can be provides one. Use network script @var{dfile} to deconfigure the interface. Use
used to specify the handle of an already opened host TAP interface. Example: @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:
@example @example
qemu linux.img -net nic -net tap qemu linux.img -net nic -net tap