[PATCHv5 3/3] vhost_net: a kernel-level virtio server
xiaohui.xin at intel.com
Sun Sep 13 22:57:06 PDT 2009
>The irqfd/ioeventfd patches are part of Avi's kvm.git tree:
>I expect them to be merged by 2.6.32-rc1 - right, Avi?
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` undeclared (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?
From: Michael S. Tsirkin [mailto:mst at redhat.com]
Sent: Sunday, September 13, 2009 1:46 PM
To: Xin, Xiaohui
Cc: Ira W. Snyder; netdev at vger.kernel.org; virtualization at lists.linux-foundation.org; kvm at vger.kernel.org; linux-kernel at vger.kernel.org; mingo at elte.hu; linux-mm at kvack.org; akpm at linux-foundation.org; hpa at zytor.com; gregory.haskins at gmail.com; Rusty Russell; s.hetze at linux-ag.com; avi at 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:
> 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 side.
> The patches are listed here:
> I applied the kernel patches on v2.6.31-rc4 and the qemu patches on latest 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=virtio,vhost=vethX".
> May you kindly advice us the patch lists all exactly to make it work?
> Thanks a lot. :-)
The irqfd/ioeventfd patches are part of Avi's kvm.git tree:
I expect them to be merged by 2.6.32-rc1 - right, Avi?
More information about the Virtualization