aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-05-04 13:20:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-05-10 11:36:04 -0500
commit21413d683b1fa264d82b6a3408ec8f2b5ce29d27 (patch)
tree41d980456fa14a6ac676952d5769b2a22df39258
parent64d564094cac5f72eeaeb950c442b773a00d3586 (diff)
downloadqemu-21413d683b1fa264d82b6a3408ec8f2b5ce29d27.zip
qemu-21413d683b1fa264d82b6a3408ec8f2b5ce29d27.tar.gz
qemu-21413d683b1fa264d82b6a3408ec8f2b5ce29d27.tar.bz2
doc: Fix host forwarding monitor command documentation
Commit f3546deb replaced host_net_redir by hostfwd_add, hostfwd_remove, but neglected to update documentation. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--qemu-monitor.hx13
1 files changed, 10 insertions, 3 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 5ea5748..21aeb6b 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -953,7 +953,14 @@ ETEXI
.help = "redirect TCP or UDP connections from host to guest (requires -net user)",
.mhandler.cmd = net_slirp_hostfwd_add,
},
+#endif
+STEXI
+@item hostfwd_add
+@findex hostfwd_add
+Redirect TCP or UDP connections from host to guest (requires -net user).
+ETEXI
+#ifdef CONFIG_SLIRP
{
.name = "hostfwd_remove",
.args_type = "arg1:s,arg2:s?,arg3:s?",
@@ -964,9 +971,9 @@ ETEXI
#endif
STEXI
-@item host_net_redir
-@findex host_net_redir
-Redirect TCP or UDP connections from host to guest (requires -net user).
+@item hostfwd_remove
+@findex hostfwd_remove
+Remove host-to-guest TCP or UDP redirection.
ETEXI
{