diff options
author | Alexander Graf <agraf@suse.de> | 2009-05-26 13:03:26 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-27 09:46:12 -0500 |
commit | c1261d8d1617d8cf5722039a59ebb66c310f3aea (patch) | |
tree | 8aad15c7b36255d671f3911886b9c0985ee73f28 /net.h | |
parent | 8a43b1ea7fd02a8e9a5c5ef58017b1bd059663bb (diff) | |
download | qemu-c1261d8d1617d8cf5722039a59ebb66c310f3aea.tar.gz qemu-c1261d8d1617d8cf5722039a59ebb66c310f3aea.tar.bz2 qemu-c1261d8d1617d8cf5722039a59ebb66c310f3aea.zip |
User Networking: Enable removal of redirections
Using the new host_net_redir command you can easily create redirections
on the fly while your VM is running.
While that's great, it's missing the removal of redirections, in case you
want to have a port closed again at a later point in time.
This patch adds support for removal of redirections.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ int net_client_init(const char *device, const char *p); void net_client_uninit(NICInfo *nd); int net_client_parse(const char *str); void net_slirp_smb(const char *exported_dir); -void net_slirp_redir(Monitor *mon, const char *redir_str); +void net_slirp_redir(Monitor *mon, const char *redir_str, const char *redir_opt2); void net_cleanup(void); int slirp_is_inited(void); void net_client_check(void); |