diff options
| author | Jan Kiszka | 2009-06-24 14:42:31 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2009-06-29 15:52:49 +0200 |
| commit | ad0d8c4c326c87ee3f193f90f31ec4af0fce5598 (patch) | |
| tree | 8cf29f6a524c52cdf7cc1b482060ade9e4a485e7 /slirp/main.h | |
| parent | slirp: Use internal state in interface (diff) | |
| download | qemu-ad0d8c4c326c87ee3f193f90f31ec4af0fce5598.tar.gz qemu-ad0d8c4c326c87ee3f193f90f31ec4af0fce5598.tar.xz qemu-ad0d8c4c326c87ee3f193f90f31ec4af0fce5598.zip | |
slirp: Allocate/free stack instance dynamically
Allocate the internal slirp state dynamically and provide and call
slirp_cleanup to properly release it after use. This patch finally
unbreaks slirp release and re-instantiation via host_net_* monitor
commands.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/main.h')
| -rw-r--r-- | slirp/main.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/slirp/main.h b/slirp/main.h index 90deb58b27..28d92d8866 100644 --- a/slirp/main.h +++ b/slirp/main.h @@ -11,7 +11,6 @@ #define TOWRITEMAX 512 -extern int link_up; extern int slirp_socket; extern int slirp_socket_unit; extern int slirp_socket_port; |
