Re: [Qemu-devel] [PATCH] Always use 10.0.2.2 as host addr for -net user (slirp)

2006-05-01 Thread Fabrice Bellard
I am not sure this patch is sufficient: sometimes our_addr is used to open socket on the host side and 10.0.2.2 has a meanning only on the VM side. Fabrice. Ed Swierk wrote: A couple of serious problems remain in the slirp redirection code after the patch Paul applied on 23 April. * If the I

[Qemu-devel] [PATCH] Always use 10.0.2.2 as host addr for -net user (slirp)

2006-04-30 Thread Ed Swierk
A couple of serious problems remain in the slirp redirection code after the patch Paul applied on 23 April. * If the IP address returned by gethostbyname(gethostname()) is the address of one of the host's Ethernet interfaces, bringing down that interface or changing its IP address disrupts redir