summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorThomas Huth2019-12-05 11:41:09 +0100
committerDr. David Alan Gilbert2020-03-09 19:44:04 +0100
commitb4983c570c7a5848c9df519cd9e056bea3177fe2 (patch)
treedfe3d5bd7e225addb1f61df55e8c24c3e8ca94d1 /hmp-commands.hx
parentmonitor/hmp: Move hmp_drive_add_node to block-hmp-cmds.c (diff)
downloadqemu-b4983c570c7a5848c9df519cd9e056bea3177fe2.tar.gz
qemu-b4983c570c7a5848c9df519cd9e056bea3177fe2.tar.xz
qemu-b4983c570c7a5848c9df519cd9e056bea3177fe2.zip
net: Remove deprecated [hub_id name] tuple of 'hostfwd_add' / 'hostfwd_remove'
It's been deprecated since QEMU v3.1.0. Time to finally remove it now. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20191205104109.18680-1-thuth@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reworked Thomas's deprecated.texi to the rst
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx8
1 files changed, 4 insertions, 4 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index eb3d1605fd..f12263e071 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1369,8 +1369,8 @@ ERST
#ifdef CONFIG_SLIRP
{
.name = "hostfwd_add",
- .args_type = "arg1:s,arg2:s?,arg3:s?",
- .params = "[hub_id name]|[netdev_id] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport",
+ .args_type = "arg1:s,arg2:s?",
+ .params = "[netdev_id] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport",
.help = "redirect TCP or UDP connections from host to guest (requires -net user)",
.cmd = hmp_hostfwd_add,
},
@@ -1383,8 +1383,8 @@ ERST
#ifdef CONFIG_SLIRP
{
.name = "hostfwd_remove",
- .args_type = "arg1:s,arg2:s?,arg3:s?",
- .params = "[hub_id name]|[netdev_id] [tcp|udp]:[hostaddr]:hostport",
+ .args_type = "arg1:s,arg2:s?",
+ .params = "[netdev_id] [tcp|udp]:[hostaddr]:hostport",
.help = "remove host-to-guest TCP or UDP redirection",
.cmd = hmp_hostfwd_remove,
},