From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: vhost_net_init returned -7 Date: Sat, 29 Aug 2009 23:47:19 +0300 Message-ID: <20090829204719.GA31449@redhat.com> References: <200908281510.43523.iggy@theiggy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Brian Jackson Return-path: Received: from mx1.redhat.com ([209.132.183.28]:8965 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752493AbZH2Usx (ORCPT ); Sat, 29 Aug 2009 16:48:53 -0400 Content-Disposition: inline In-Reply-To: <200908281510.43523.iggy@theiggy.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Aug 28, 2009 at 03:10:43PM -0500, Brian Jackson wrote: > I'm trying to tinker with vhost_net. I have a 2.6.31-rc4 host kernel patched > to support vhost_net (v5) (along with ksm if it matters). The guest is a > debian-5.0.2 (2.6.26) install CD for now. When the guest tries to load the > virtio-net drivers, kvm closes and prints "vhost_net_init returned -7". KVM is > patched with your patches from 20090817. > > I tried looking through the code but without adding some other debug code, > it's not obvious where exactly it's failing. Was going to see if anyone (I > know, not a lot of users yet) had any ideas before I dig too deep. > > --Iggy What I think you miss is eventfd support from kvm module in kernel. Patches for this are in Avi's kvm.git tree: git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git -- MST