Re: [Qemu-devel] [PATCH] Fix ping issue for linux-user guest

2012-07-11 Thread Dunrong Huang
2012/7/11 Jing Huang : > This patch fix ping issues for linux-user guest. > > * The do_setsockopts function in linux-user does not support SOL_RAW > socket which is used in ping net tool. > > * The recvmsg in main_loop of ping could not fetch > sockaddr_in struct. That is because do_sendrecvmsg in

Re: [Qemu-devel] [PATCH] Fix ping issue for linux-user guest

2012-07-11 Thread Peter Maydell
Thanks for this patch. Review comments below... (cc'ing the linux-user maintainer) On 11 July 2012 14:56, Jing Huang wrote: > This patch fix ping issues for linux-user guest. > > * The do_setsockopts function in linux-user does not support SOL_RAW > socket which is used in ping net tool. > > * T

[Qemu-devel] [PATCH] Fix ping issue for linux-user guest

2012-07-11 Thread Jing Huang
This patch fix ping issues for linux-user guest. * The do_setsockopts function in linux-user does not support SOL_RAW socket which is used in ping net tool. * The recvmsg in main_loop of ping could not fetch sockaddr_in struct. That is because do_sendrecvmsg in linux-user does not pass the msg->m