Skip to contentSkip to conversation

Misleading -net documentation

PATCH New Paul Brook 1 participant 1 message Jan 31, 2006

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

PATCH 1/1 Misleading -net documentation

The qemu documentation implies that "-net user" is the default. It's actually "-net user -net nic". The patch below clarifies the documentation. I've also moved the description of the default to -net none as that seems a more logical place for it.

Paul

Index: qemu-doc.texi
===================================================================
RCS file: /sources/qemu/qemu/qemu-doc.texi,v
retrieving revision 1.78

qemu-doc.texi +3 -4
diff -u -p -r1.78 qemu-doc.texi
@@ -260,8 +260,7 @@ target. Optionally, the MAC address can 
 
 @item -net user[,vlan=n]
 Use the user mode network stack which requires no administrator
-priviledge to run. This is the default if no @option{-net} option is
-specified.
+priviledge to run.
 
 @item -net tap[,vlan=n][,fd=h][,ifname=name][,script=file]
 Connect the host TAP network interface @var{name} to VLAN @var{n} and
@@ -334,8 +333,8 @@ qemu linux.img -net nic,macaddr=52:54:00
 
 @item -net none
 Indicate that no network devices should be configured. It is used to
-override the default configuration which is activated if no
-@option{-net} options are provided.
+override the default configuration (@option{-net nic -net user}) which
+is activated if no @option{-net} options are provided.
 
 @item -tftp prefix
 When using the user mode network stack, activate a built-in TFTP