Re: [Qemu-devel] [PATCH v1 2/5] slirp: make timeout local

2013-08-09 Thread Paolo Bonzini
Il 09/08/2013 10:48, liu ping fan ha scritto: > After patch 3,4, the timeout will be an param for GSource's prepare. > So I think I will set the right timeout value in patch4? No, please do it before (in fact you can extract this patch and the timeout change to a seprate series). Then patch 4 can

Re: [Qemu-devel] [PATCH v1 2/5] slirp: make timeout local

2013-08-09 Thread liu ping fan
On Fri, Aug 9, 2013 at 4:06 PM, Paolo Bonzini wrote: > Il 08/08/2013 08:26, Liu Ping Fan ha scritto: >> Each slirp has its own time to caculate timeout. >> >> Signed-off-by: Liu Ping Fan >> --- >> slirp/slirp.c | 22 ++ >> slirp/slirp.h | 3 +++ >> 2 files changed, 13 insert

Re: [Qemu-devel] [PATCH v1 2/5] slirp: make timeout local

2013-08-09 Thread Paolo Bonzini
Il 08/08/2013 08:26, Liu Ping Fan ha scritto: > Each slirp has its own time to caculate timeout. > > Signed-off-by: Liu Ping Fan > --- > slirp/slirp.c | 22 ++ > slirp/slirp.h | 3 +++ > 2 files changed, 13 insertions(+), 12 deletions(-) > > diff --git a/slirp/slirp.c b/sli

[Qemu-devel] [PATCH v1 2/5] slirp: make timeout local

2013-08-07 Thread Liu Ping Fan
Each slirp has its own time to caculate timeout. Signed-off-by: Liu Ping Fan --- slirp/slirp.c | 22 ++ slirp/slirp.h | 3 +++ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/slirp/slirp.c b/slirp/slirp.c index 80b28ea..55654d5 100644 --- a/slirp/slirp.c +++