Skip to contentSkip to conversation

Fix ping issues in linux-user guest

PATCH Superseded Jing Huang 1 participant 1 message Jul 16, 2012

v2 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Jing Huang

author
#0 lore raw

v2 cover Fix ping issues in linux-user guest

The following changes since commit 3437e545857aa15e583e314471e9c86fc3e9a89c:
qemu-log: fix x86 and user logging (Sat Jul 7 14:40:18 2012 +0000)

These patches fix ping issues in linux-user guest:

- do_sebdrecv() could not pass sockaddr to target after executing recvmsg(). Therefore, ping will shows: "64 bytes from 0.0.0.0:
icmp_req=1 ttl=64 time=1.16 ms" for example.

- do_setsockopt() do not support SOL_RAW option which which is used in ping program.

- host_to_target_cmsg() report unsupported ancillary data qemu-log message when cmsg_type equals SO_TIMESTAMP.

Please review,

Jing.

*** BLURB HERE ***

Jing Huang (3):
linux-user: pass sockaddr from host to target
linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket
option
linux-user: exclude SO_TIMESTAMP cmsg_type from unsuppoted ancillary
data

 linux-user/syscall.c |   34 ++++++++++++++++++++++++++++++++--
 1 files changed, 32 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.8.6