hmp command `hostfwd_remove` does not work on running vm
Bug #1911797 reported by
Ven Karri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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
Changed in qemu: | |
status: | New → Invalid |
To post a comment you must log in.
Looks like intended behavior:
(qemu) help hostfwd_add :[hostaddr] :hostport- [guestaddr] :guestport -- redirect TCP or UDP connections from host to guest (requires -net user) :[hostaddr] :hostport -- remove host-to-guest TCP or UDP redirection
hostfwd_add [netdev_id] [tcp|udp]
(qemu) help hostfwd_remove
hostfwd_remove [netdev_id] [tcp|udp]