Skip to content

Commit

Permalink
doc: fix hardcoded helper path
Browse files Browse the repository at this point in the history
The install directory of qemu-bridge-helper is configurable,
but we use a fixed path in the documentation.

DEFAULT_BRIDGE_HELPER macro isn't available in texi mode,
we should always use "/path/to/" prefix for dynamic paths
(e.g.: /path/to/image, /path/to/linux, etc).

Signed-off-by: Amos Kong <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
amoskong authored and mstsirkin committed Nov 18, 2013
1 parent 7f1bb74 commit 420508f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qemu-options.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ to disable script execution.

If running QEMU as an unprivileged user, use the network helper
@var{helper} to configure the TAP interface. The default network
helper executable is @file{/usr/local/libexec/qemu-bridge-helper}.
helper executable is @file{/path/to/qemu-bridge-helper}.

@option{fd}=@var{h} can be used to specify the handle of an already
opened host TAP interface.
Expand All @@ -1629,7 +1629,7 @@ qemu-system-i386 linux.img \
#launch a QEMU instance with the default network helper to
#connect a TAP device to bridge br0
qemu-system-i386 linux.img \
-net nic -net tap,"helper=/usr/local/libexec/qemu-bridge-helper"
-net nic -net tap,"helper=/path/to/qemu-bridge-helper"
@end example

@item -netdev bridge,id=@var{id}[,br=@var{bridge}][,helper=@var{helper}]
Expand All @@ -1638,7 +1638,7 @@ Connect a host TAP network interface to a host bridge device.

Use the network helper @var{helper} to configure the TAP interface and
attach it to the bridge. The default network helper executable is
@file{/usr/local/libexec/qemu-bridge-helper} and the default bridge
@file{/path/to/qemu-bridge-helper} and the default bridge
device is @file{br0}.

Examples:
Expand Down

0 comments on commit 420508f

Please sign in to comment.