[Qemu-devel] [PATCH 0/3] Fix ping issues in linux-user guest

2012-07-14 Thread Jing Huang
_TIMESTAMP. Please review, Jing. 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 | 35 +++- 1 fil

[Qemu-devel] [PATCH 1/3] linux-user: pass sockaddr from host to target

2012-07-14 Thread Jing Huang
This patch pass sockaddr from host to target. Signed-off-by: Jing Huang --- linux-user/syscall.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 539af3f..fa251df 100644 --- a/linux-user/syscall.c +++ b/linux

[Qemu-devel] [PATCH 2/3] linux-user: make do_setsockopt() support SOL_RAW ICMP_FILTER socket option

2012-07-14 Thread Jing Huang
This patch makes do_setsockopt() support SOL_RAW ICMP_FILTER socket option Signed-off-by: Jing Huang --- linux-user/syscall.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index fa251df..ed93af0 100644

[Qemu-devel] [PATCH 3/3] linux-user: exclude SO_TIMESTAMP cmsg_type from unsuppoted ancillary data

2012-07-14 Thread Jing Huang
This patch excludes SO_TIMESTAMP cmsg_type from unsuppoted ancillary data Signed-off-by: Jing Huang --- linux-user/syscall.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index ed93af0..850e6e0 100644 --- a/linux-user

[Qemu-devel] [PATCH v2 0/3] Fix ping issues in linux-user guest

2012-07-15 Thread Jing Huang
iew, 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/syscal

[Qemu-devel] [PATCH v2 1/3] linux-user: pass sockaddr from host to target

2012-07-15 Thread Jing Huang
This patch pass sockaddr from host to target. Signed-off-by: Jing Huang --- linux-user/syscall.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 539af3f..28c8ba5 100644 --- a/linux-user/syscall.c +++ b/linux

[Qemu-devel] [PATCH v2 2/3] linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option

2012-07-15 Thread Jing Huang
This patch makes do_setsockopt() support SOL_RAW ICMP_FILTER socket option. Signed-off-by: Jing Huang --- linux-user/syscall.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 28c8ba5..fc8690d 100644

[Qemu-devel] [PATCH v2 3/3] linux-user: exclude SO_TIMESTAMP cmsg_type from unsuppoted ancillary data

2012-07-15 Thread Jing Huang
This patch excludes SO_TIMESTAMP cmsg_type from unsuppoted ancillary data. Signed-off-by: Jing Huang --- linux-user/syscall.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index fc8690d..9fce57c 100644 --- a/linux-user

Re: [Qemu-devel] [PATCH v2 2/3] linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option

2012-07-16 Thread Jing Huang
On Mon, Jul 16, 2012 at 11:23 AM, Dunrong Huang wrote: > 2012/7/16 Jing Huang : >> This patch makes do_setsockopt() support SOL_RAW ICMP_FILTER socket option. >> >> Signed-off-by: Jing Huang >> --- >> linux-user/syscall.c | 20 >>

Re: [Qemu-devel] [PATCH v2 3/3] linux-user: exclude SO_TIMESTAMP cmsg_type from unsuppoted ancillary data

2012-07-19 Thread Jing Huang
On Mon, Jul 16, 2012 at 2:45 PM, Peter Maydell wrote: > On 16 July 2012 11:15, Jing Huang wrote: >> This patch excludes SO_TIMESTAMP cmsg_type from unsuppoted ancillary data. > > "unsupported". > >> >> Signed-off-by: Jing Huang >> --- >> lin

[Qemu-devel] [PATCH V3 0/3] Fix ping issues in linux-user guest

2012-07-20 Thread Jing Huang
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-u

[Qemu-devel] [PATCH V3 1/3] linux-user: pass sockaddr from host to target

2012-07-20 Thread Jing Huang
Signed-off-by: Jing Huang --- linux-user/syscall.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 539af3f..82aa83d 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1873,10 +1873,21 @@ static

[Qemu-devel] [PATCH V3 2/3] linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option

2012-07-20 Thread Jing Huang
Signed-off-by: Jing Huang --- linux-user/syscall.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 82aa83d..2228b1f 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -60,6 +60,7 @@ int

[Qemu-devel] [PATCH V3 3/3] linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type

2012-07-20 Thread Jing Huang
Signed-off-by: Jing Huang --- linux-user/syscall.c | 15 +++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 2228b1f..7521746 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1350,8 +1350,17 @@ static

[Qemu-devel] [PATCH V4 0/3] Fix ping issues in linux-user guest

2012-07-23 Thread Jing Huang
Please review, Jing. Reviewed-by: Peter Maydell *** 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-u

[Qemu-devel] [PATCH V4 1/3] linux-user: pass sockaddr from host to target

2012-07-23 Thread Jing Huang
Signed-off-by: Jing Huang Reviewed-by: Peter Maydell --- linux-user/syscall.c | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 539af3f..3319bb8 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c

[Qemu-devel] [PATCH V4 2/3] linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option

2012-07-23 Thread Jing Huang
Signed-off-by: Jing Huang Reviewed-by: Peter Maydell --- linux-user/syscall.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 3319bb8..9b498d0 100644 --- a/linux-user/syscall.c +++ b/linux-user

[Qemu-devel] [PATCH V4 3/3] linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type

2012-07-23 Thread Jing Huang
Signed-off-by: Jing Huang --- linux-user/syscall.c | 20 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 9b498d0..ce70459 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1348,16 +1348,28

[Qemu-devel] [PATCH V5 0/3] Fix ping issues in linux-user guest

2012-07-24 Thread Jing Huang
ed-by: Peter Maydell *** 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-u

[Qemu-devel] [PATCH V5 1/3] linux-user: pass sockaddr from host to target

2012-07-24 Thread Jing Huang
Signed-off-by: Jing Huang Reviewed-by: Peter Maydell --- linux-user/syscall.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 539af3f..6385934 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c

[Qemu-devel] [PATCH V5 2/3] linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option

2012-07-24 Thread Jing Huang
Signed-off-by: Jing Huang Reviewed-by: Peter Maydell --- linux-user/syscall.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6385934..cc2a1c3 100644 --- a/linux-user/syscall.c +++ b/linux-user

[Qemu-devel] [PATCH V5 3/3] linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type

2012-07-24 Thread Jing Huang
Signed-off-by: Jing Huang Reviewed-by: Peter Maydell --- linux-user/syscall.c | 20 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index cc2a1c3..a5fa7a7 100644 --- a/linux-user/syscall.c +++ b/linux-user

[Qemu-devel] [PATCH V6 0/3] Fix ping issues in linux-user guest

2012-07-24 Thread Jing Huang
ed-by: Peter Maydell *** 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-u

[Qemu-devel] [PATCH V6 1/3] linux-user: pass sockaddr from host to target

2012-07-24 Thread Jing Huang
Signed-off-by: Jing Huang Reviewed-by: Peter Maydell --- linux-user/syscall.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 539af3f..6385934 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c

[Qemu-devel] [PATCH V6 2/3] linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option

2012-07-24 Thread Jing Huang
Signed-off-by: Jing Huang Reviewed-by: Peter Maydell --- linux-user/syscall.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6385934..362e478 100644 --- a/linux-user/syscall.c +++ b/linux-user

[Qemu-devel] [PATCH V6 3/3] linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type

2012-07-24 Thread Jing Huang
Signed-off-by: Jing Huang --- linux-user/syscall.c | 20 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 362e478..356801a 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1347,16 +1347,28

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

2012-07-11 Thread Jing Huang
->msg_name to the target. We fix the above issues. Signed-off-by: Jing Huang --- syscall.c|24 +++- 1 files changed, 23 insertions(+), 1 deletions(-) diff -git a/linux-user/syscall.c b/linux-user/syscall.c index 5346554..3343345 e43f56 --- a/linux-user/syscal