Commit 030370a210d7cc0293b6149566318b4585b307a8

Authored by aurel32
1 parent f5fc9975

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
Showing 1 changed file with 8 additions and 8 deletions
qemu-doc.texi
... ... @@ -617,14 +617,14 @@ privilege to run. @option{hostname=name} can be used to specify the client
617 617 hostname reported by the builtin DHCP server.
618 618  
619 619 @item -net tap[,vlan=@var{n}][,fd=@var{h}][,ifname=@var{name}][,script=@var{file}][,downscript=@var{dfile}]
620   -Connect the host TAP network interface @var{name} to VLAN @var{n} and
621   -use the network script @var{file} to configure it. The default
622   -network script is @file{/etc/qemu-ifup}. Use @option{script=no} to
623   -disable script execution. If @var{name} is not provided, the OS automatically
624   -provides one. Use network script @var{dfile} to deconfigure the interface. Use
625   -@option{downscript=no} to disable script execution. @option{fd}=@var{h} can be
626   -used to specify the handle of an already opened host TAP interface.
627   -Example:
  620 +Connect the host TAP network interface @var{name} to VLAN @var{n}, use
  621 +the network script @var{file} to configure it and the network script
  622 +@var{dfile} to deconfigure it. If @var{name} is not provided, the OS
  623 +automatically provides one. @option{fd}=@var{h} can be used to specify
  624 +the handle of an already opened host TAP interface. The default network
  625 +configure script is @file{/etc/qemu-ifup} and the default network
  626 +deconfigure script is @file{/etc/qemu-ifdown}. Use @option{script=no}
  627 +or @option{downscript=no} to disable script execution. Example:
628 628  
629 629 @example
630 630 qemu linux.img -net nic -net tap
... ...