Received: from eggs.gnu.org ([2001:4830:134:3::10]:40853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCTgI-0000SG-VF for qemu-devel@nongnu.org; Thu, 22 Aug 2013 08:08:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCTgA-00013g-I0 for qemu-devel@nongnu.org; Thu, 22 Aug 2013 08:08:02 -0400 Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:36949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCTgA-00013H-CF for qemu-devel@nongnu.org; Thu, 22 Aug 2013 08:07:54 -0400 Received: by mail-ee0-f42.google.com with SMTP id b45so720661eek.1 for ; Thu, 22 Aug 2013 05:07:53 -0700 (PDT) Date: Thu, 22 Aug 2013 14:07:51 +0200 From: Stefan Hajnoczi Message-ID: <20130822120751.GE27613@stefanha-thinkpad.redhat.com> References: <1377051352-23499-1-git-send-email-pingfank@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1377051352-23499-1-git-send-email-pingfank@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v3 0/3] slirp: fill mainloop with more precise timeout value List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Ping Fan Cc: Jan Kiszka , qemu-devel@nongnu.org, Stefan Hajnoczi , Paolo Bonzini On Wed, Aug 21, 2013 at 10:15:49AM +0800, Liu Ping Fan wrote: > With this series, we can set the mainloop timeout more precisely when slirp has > to emulate tcp timeout problem. > > v3: > fix comment: document timeout unit "milliseconds" > fix logic: no slirps, no timeout modifications in slirp_pollfds_fill() > v2: > fold slirp_update_timeout logic into slirp_pollfds_fill. > > > Liu Ping Fan (3): > slirp: make timeout local > slirp: define timeout as macro > slirp: set mainloop timeout with more precise value > > main-loop.c | 3 +-- > slirp/libslirp.h | 3 +-- > slirp/slirp.c | 55 +++++++++++++++++++++++++++++++++++++++---------------- > slirp/slirp.h | 3 +++ > stubs/slirp.c | 6 +----- > 5 files changed, 45 insertions(+), 25 deletions(-) These patches look okay, I've skimmed them. Leaving detailed slirp review to Jan. Stefan