From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URfJD-0007fq-FN for qemu-devel@nongnu.org; Mon, 15 Apr 2013 05:02:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URfJA-0005ub-S6 for qemu-devel@nongnu.org; Mon, 15 Apr 2013 05:02:43 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:52210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URfJA-0005tc-KY for qemu-devel@nongnu.org; Mon, 15 Apr 2013 05:02:40 -0400 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 15 Apr 2013 09:59:24 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id A66211B0806B for ; Mon, 15 Apr 2013 10:02:35 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r3F92Phi28835976 for ; Mon, 15 Apr 2013 09:02:25 GMT Received: from d06av09.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r3F92Z8N017855 for ; Mon, 15 Apr 2013 03:02:35 -0600 Date: Mon, 15 Apr 2013 11:02:33 +0200 From: Cornelia Huck Message-ID: <20130415110233.7123cbeb@gondolin> In-Reply-To: <1365690602-22729-1-git-send-email-fred.konrad@greensocs.com> References: <1365690602-22729-1-git-send-email-fred.konrad@greensocs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/7] virtio-net refactoring. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fred.konrad@greensocs.com Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, mark.burton@greensocs.com, qemu-devel@nongnu.org On Thu, 11 Apr 2013 16:29:55 +0200 fred.konrad@greensocs.com wrote: > From: KONRAD Frederic > > This is the next part of virtio-refactoring. > > Basically it creates virtio-net-device which extends virtio-device. > Then a virtio-net-device can be connected on a virtio-bus. > virtio-net-pci, virtio-net-s390 and virtio-net-ccw are created too, > they extend respectively virtio-pci, virtio-s390-device, virtio-ccw-device and > have a virtio-net-device. > > You can checkout my branch here: > > git://project.greensocs.com/qemu-virtio.git virtio-net-v3 > > Note: it applies on top of virtio-9p-v3. > > I made basic tests (with linux guests) on: > * qemu-system-i386 On s390, with virtio-ccw and s390-virtio: Tested-by: Cornelia Huck > > Changes v2 -> v3: > * Added property macro. > * Rebased on virtio-net-ccw. > * Renamed device "virtio-net" => "virtio-net-device". > * Rebased. > > Thanks, > > Fred > > KONRAD Frederic (7): > virtio: add two functions to VirtioDeviceClass. > virtio-net: add the virtio-net device. > virtio-net-pci: switch to the new API. > virtio-net-s390: switch to the new API. > virtio-net-ccw: switch to the new API. > virtio-net: cleanup: use QOM cast. > virtio-net: cleanup: init and exit function. > > hw/net/virtio-net.c | 244 ++++++++++++++++++++++++++--------------- > hw/s390x/s390-virtio-bus.c | 33 +++--- > hw/s390x/s390-virtio-bus.h | 13 ++- > hw/s390x/virtio-ccw.c | 35 +++--- > hw/s390x/virtio-ccw.h | 13 ++- > hw/virtio/virtio-pci.c | 116 ++++++++++---------- > hw/virtio/virtio-pci.h | 15 ++- > include/hw/virtio/virtio-net.h | 15 ++- > include/hw/virtio/virtio.h | 12 ++ > 9 files changed, 311 insertions(+), 185 deletions(-) >