From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SleJV-0008Lt-8R for qemu-devel@nongnu.org; Mon, 02 Jul 2012 06:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SleJT-0000Xd-Iy for qemu-devel@nongnu.org; Mon, 02 Jul 2012 06:57:04 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:42807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SleJT-0000X8-A7 for qemu-devel@nongnu.org; Mon, 02 Jul 2012 06:57:03 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 2 Jul 2012 11:56:58 +0100 Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q62AuvsP1880134 for ; Mon, 2 Jul 2012 11:56:57 +0100 Received: from d06av03.portsmouth.uk.ibm.com (localhost.localdomain [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q62AuuuX027973 for ; Mon, 2 Jul 2012 04:56:56 -0600 From: Stefan Hajnoczi Date: Mon, 2 Jul 2012 11:56:49 +0100 Message-Id: <1341226613-15577-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/4] net: convert NetClientState to QOM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori , lersek@redhat.com, Stefan Hajnoczi Note: These patches apply on top of Zhi Yong Wu's vlan-hub v6 and -netdev socket v2 series. This series is the first step in QOMifying the net subsystem. These patches make NetClientState an Object so that all -netdev and NICs use QOM. The net clients are not yet visible in the QOM tree and have no properties. I wanted to send this out before I go on vacation 3 - 11 July since others are making changes in the net subsystem and this could conflict. Future patch series will focus on: 1. QOM lifecycle for NetClientState, including dealing with hotplug. 2. QOM properties for each -netdev type. 3. Exposing net clients in the QOM tree. 4. Replacing ad-hoc code with QOM usage. Stefan Hajnoczi (4): net: add public qemu_net_poll() function net: add net_is_tap_client() net: extract notify_link_status_changed() function net: convert NetClientState to QOM hw/cadence_gem.c | 27 +++++++--- hw/dp8393x.c | 41 ++++++++++---- hw/e1000.c | 32 +++++++---- hw/eepro100.c | 27 +++++++--- hw/etraxfs_eth.c | 27 +++++++--- hw/lan9118.c | 27 +++++++--- hw/lance.c | 18 +------ hw/mcf_fec.c | 32 ++++++++--- hw/milkymist-minimac2.c | 26 ++++++--- hw/mipsnet.c | 25 ++++++--- hw/musicpal.c | 26 ++++++--- hw/ne2000-isa.c | 17 +----- hw/ne2000.c | 23 +++++--- hw/ne2000.h | 2 + hw/opencores_eth.c | 28 +++++++--- hw/pcnet-pci.c | 18 +------ hw/pcnet.c | 36 +++++++++++-- hw/pcnet.h | 3 +- hw/rtl8139.c | 26 ++++++--- hw/smc91c111.c | 26 ++++++--- hw/spapr_llan.c | 24 ++++++--- hw/stellaris_enet.c | 26 ++++++--- hw/usb/dev-network.c | 25 ++++++--- hw/vhost_net.c | 11 ++-- hw/virtio-net.c | 43 ++++++++++----- hw/xen_nic.c | 29 +++++++--- hw/xgmac.c | 26 ++++++--- hw/xilinx_axienet.c | 26 ++++++--- hw/xilinx_ethlite.c | 26 ++++++--- net.c | 138 ++++++++++++++++++++++++++++++++--------------- net.h | 35 ++++++++---- net/dump.c | 30 ++++++++--- net/hub.c | 51 +++++++++++------- net/slirp.c | 29 +++++++--- net/socket.c | 80 +++++++++++++++------------ net/tap-win32.c | 29 ++++++++-- net/tap.c | 83 ++++++++++++++++------------ net/tap.h | 1 + net/vde.c | 28 ++++++++-- 39 files changed, 841 insertions(+), 386 deletions(-) -- 1.7.10