Skip to contentSkip to conversation

Fix ping issues in linux-user guest

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

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Jing Huang

author
#0 lore raw

v3 cover Fix ping issues in linux-user guest

The following changes since commit 61dc008f3529fa74a63aad1907438dad857e255a:
Revert "audio: Make PC speaker audio card available by default"

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: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type

 linux-user/syscall.c |   47 ++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 44 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.8.6