diff options
Diffstat (limited to 'results/scraper/launchpad/1911797')
| -rw-r--r-- | results/scraper/launchpad/1911797 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/results/scraper/launchpad/1911797 b/results/scraper/launchpad/1911797 new file mode 100644 index 00000000..e6d2ff8d --- /dev/null +++ b/results/scraper/launchpad/1911797 @@ -0,0 +1,27 @@ +hmp command `hostfwd_remove` does not work on running vm + +On a running VM, I ran the following two hmp commands: + +"hostfwd_add tcp::43210-:43210" --> WORKS +'hostfwd_remove tcp::43210-:43210" --> DOES NOT WORK. returns 'invalid format' + +QEMU version 5.1 + +Looks like intended behavior: + +(qemu) help hostfwd_add +hostfwd_add [netdev_id] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport -- redirect TCP or UDP connections from host to guest (requires -net user) +(qemu) help hostfwd_remove +hostfwd_remove [netdev_id] [tcp|udp]:[hostaddr]:hostport -- remove host-to-guest TCP or UDP redirection + + +Not sure I understand. The intended behavior is to remove the ports. It doesn't do that. And it returns 'invalid format'. + +(qemu) hostfwd_add tcp::43210-:43210 +(qemu) hostfwd_remove tcp::43210-:43210 +invalid format + +My bad. The correct command is this: +(qemu) hostfwd_remove tcp::43210 +This bug can be closed. + |