From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 6447D6B004D for ; Mon, 14 Sep 2009 01:57:06 -0400 (EDT) From: "Xin, Xiaohui" Date: Mon, 14 Sep 2009 13:57:06 +0800 Subject: RE: [PATCHv5 3/3] vhost_net: a kernel-level virtio server Message-ID: References: <20090827160750.GD23722@redhat.com> <20090903183945.GF28651@ovro.caltech.edu> <20090907101537.GH3031@redhat.com> <20090908172035.GB319@ovro.caltech.edu> <20090908201428.GA12420@redhat.com> <20090913054610.GA4446@redhat.com> In-Reply-To: <20090913054610.GA4446@redhat.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org To: "Michael S. Tsirkin" Cc: "Ira W. Snyder" , "netdev@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mingo@elte.hu" , "linux-mm@kvack.org" , "akpm@linux-foundation.org" , "hpa@zytor.com" , "gregory.haskins@gmail.com" , Rusty Russell , "s.hetze@linux-ag.com" , "avi@redhat.com" List-ID: >The irqfd/ioeventfd patches are part of Avi's kvm.git tree: >git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git > >I expect them to be merged by 2.6.32-rc1 - right, Avi? Michael, I think I have the kernel patch for kvm_irqfd and kvm_ioeventfd, but missed= the qemu side patch for irqfd and ioeventfd. I met the compile error when I compiled virtio-pci.c file in qemu-kvm like = this: /root/work/vmdq/vhost/qemu-kvm/hw/virtio-pci.c:384: error: `KVM_IRQFD` unde= clared (first use in this function) /root/work/vmdq/vhost/qemu-kvm/hw/virtio-pci.c:400: error: `KVM_IOEVENTFD` = undeclared (first use in this function) Which qemu tree or patch do you use for kvm_irqfd and kvm_ioeventfd? Thanks Xiaohui -----Original Message----- From: Michael S. Tsirkin [mailto:mst@redhat.com]=20 Sent: Sunday, September 13, 2009 1:46 PM To: Xin, Xiaohui Cc: Ira W. Snyder; netdev@vger.kernel.org; virtualization@lists.linux-found= ation.org; kvm@vger.kernel.org; linux-kernel@vger.kernel.org; mingo@elte.hu= ; linux-mm@kvack.org; akpm@linux-foundation.org; hpa@zytor.com; gregory.has= kins@gmail.com; Rusty Russell; s.hetze@linux-ag.com; avi@redhat.com Subject: Re: [PATCHv5 3/3] vhost_net: a kernel-level virtio server On Fri, Sep 11, 2009 at 11:17:33PM +0800, Xin, Xiaohui wrote: > Michael, > We are very interested in your patch and want to have a try with it. > I have collected your 3 patches in kernel side and 4 patches in queue sid= e. > The patches are listed here: >=20 > PATCHv5-1-3-mm-export-use_mm-unuse_mm-to-modules.patch > PATCHv5-2-3-mm-reduce-atomic-use-on-use_mm-fast-path.patch > PATCHv5-3-3-vhost_net-a-kernel-level-virtio-server.patch >=20 > PATCHv3-1-4-qemu-kvm-move-virtio-pci[1].o-to-near-pci.o.patch > PATCHv3-2-4-virtio-move-features-to-an-inline-function.patch > PATCHv3-3-4-qemu-kvm-vhost-net-implementation.patch > PATCHv3-4-4-qemu-kvm-add-compat-eventfd.patch >=20 > I applied the kernel patches on v2.6.31-rc4 and the qemu patches on lates= t kvm qemu. > But seems there are some patches are needed at least irqfd and ioeventfd = patches on > current qemu. I cannot create a kvm guest with "-net nic,model=3Dvirtio,v= host=3DvethX". >=20 > May you kindly advice us the patch lists all exactly to make it work? > Thanks a lot. :-) >=20 > Thanks > Xiaohui The irqfd/ioeventfd patches are part of Avi's kvm.git tree: git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git I expect them to be merged by 2.6.32-rc1 - right, Avi? --=20 MST -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org