From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFeii-0001S2-I9 for qemu-devel@nongnu.org; Wed, 13 Mar 2013 01:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFeib-0000go-3I for qemu-devel@nongnu.org; Wed, 13 Mar 2013 01:59:24 -0400 Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:39839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFeia-0000gZ-Vv for qemu-devel@nongnu.org; Wed, 13 Mar 2013 01:59:17 -0400 Received: by mail-ie0-f171.google.com with SMTP id 10so960567ied.30 for ; Tue, 12 Mar 2013 22:59:16 -0700 (PDT) From: Liu Ping Fan Date: Wed, 13 Mar 2013 13:59:04 +0800 Message-Id: <1363154346-14827-1-git-send-email-qemulist@gmail.com> Subject: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , Paolo Bonzini , mdroth , Anthony Liguori , "Michael S. Tsirkin" These series aim to port network backend onto glib, and prepare for moving towards making network layer mutlit-thread. The brief of the whole aim and plan is documented on http://wiki.qemu.org/Features/network_reentrant In these series, attach each NetClientState with a GSource At the first, I use AioContext instead of GSource, but after discussion, I think with GSource, we can integrated with glib more closely. Liu Ping Fan (2): net: port tap onto glib net: port hub onto glib hw/qdev-properties-system.c | 1 + include/net/net.h | 24 +++++++++++ include/net/queue.h | 14 +++++++ net/hub.c | 34 +++++++++++++++- net/net.c | 91 +++++++++++++++++++++++++++++++++++++++++++ net/queue.c | 4 +- net/tap.c | 57 ++++++++++++++++++++++----- 7 files changed, 210 insertions(+), 15 deletions(-) -- 1.7.4.4