Re: [Qemu-devel] [PATCH] Make ping work for -net user

2007-08-16 Thread Luke -Jr
On Thursday 16 August 2007, [EMAIL PROTECTED] wrote: > This is a very simple proof-of-concept patch that fakes ICMP well enough > for ping to work. Speaking of which... does ping work if qemu runs as root? As to the patch, it looks like it only works if you're testing whether you actually can pin

[Qemu-devel] [PATCH] Make ping work for -net user

2007-08-15 Thread jbrown105
This is a very simple proof-of-concept patch that fakes ICMP well enough for ping to work. Basically, when the slirp code gets a ping request for an ip outside of the slirp network, it runs /bin/ping and reports the results back to the guest accordingly. Right now it uses vfork() and then exec()