From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un3RW-0004yY-1d for qemu-devel@nongnu.org; Thu, 13 Jun 2013 05:03:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un3RU-0003Ak-LH for qemu-devel@nongnu.org; Thu, 13 Jun 2013 05:03:41 -0400 Received: from mail-oa0-x233.google.com ([2607:f8b0:4003:c02::233]:40821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un3RU-0003Aa-Ga for qemu-devel@nongnu.org; Thu, 13 Jun 2013 05:03:40 -0400 Received: by mail-oa0-f51.google.com with SMTP id i4so6373524oah.24 for ; Thu, 13 Jun 2013 02:03:39 -0700 (PDT) From: Liu Ping Fan Date: Thu, 13 Jun 2013 17:03:00 +0800 Message-Id: <1371114186-8854-1-git-send-email-qemulist@gmail.com> Subject: [Qemu-devel] [PATCH v2 0/6] port network layer onto glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mdroth , Stefan Hajnoczi Currently, I drop slirp and frontend related code (I guess I can reuse some code by mdroth's QContext later). And this series only resolve the net core re-entrant problem. v1->v2: introduce netqueue re-entrant detection and defer it to BH Liu Ping Fan (6): net: introduce lock to protect NetQueue net: introduce lock to protect NetClientState's peer's access net: make netclient re-entrant with refcnt net: force NetQue opaque to be NetClientState net: defer nested call to BH net: hub use lock to protect ports list hw/core/qdev-properties-system.c | 14 +++++ include/net/net.h | 10 ++++ include/net/queue.h | 2 +- net/hub.c | 28 ++++++++- net/net.c | 124 +++++++++++++++++++++++++++++++++++++-- net/queue.c | 57 ++++++++++++++++-- net/slirp.c | 3 +- 7 files changed, 225 insertions(+), 13 deletions(-) -- 1.8.1.4