From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: [PATCH 0/3] qemu-kvm: vhost net support Date: Mon, 10 Aug 2009 22:23:04 +0300 Message-ID: <20090810192304.GA16781@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: avi@redhat.com, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Return-path: Received: from mx2.redhat.com ([66.187.237.31]:51103 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751346AbZHJTYT (ORCPT ); Mon, 10 Aug 2009 15:24:19 -0400 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: This adds support for vhost-net virtio kernel backend. This is RFC, but works without issues for me. Still needs to be split up, tested and benchmarked properly, but posting it here in case people want to test drive the kernel bits I posted. Michael S. Tsirkin (3): qemu-kvm: move virtio-pci.o to near pci.o virtio: move features to an inline function qemu-kvm: vhost-net implementation Makefile.hw | 2 +- Makefile.target | 3 +- hw/vhost_net.c | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++ hw/vhost_net.h | 30 +++++++++ hw/virtio-balloon.c | 2 +- hw/virtio-blk.c | 2 +- hw/virtio-console.c | 2 +- hw/virtio-net.c | 34 +++++++++- hw/virtio-pci.c | 43 +++++++++++- hw/virtio.c | 19 ------ hw/virtio.h | 38 ++++++++++- net.c | 8 ++- net.h | 1 + qemu-kvm.c | 8 -- qemu-kvm.h | 9 +++ 15 files changed, 340 insertions(+), 42 deletions(-) create mode 100644 hw/vhost_net.c create mode 100644 hw/vhost_net.h