From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: vhost_net_init returned -7 Date: Sun, 30 Aug 2009 00:01:23 +0300 Message-ID: <20090829210123.GE31449@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]:58123 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752584AbZH2VCv (ORCPT ); Sat, 29 Aug 2009 17:02:51 -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 Something I forgot to mention is that userspace I posted currently rely on guest MSI support which requires guest v2.6.31 (any rc will do). You don't need kvm.git in guest though: kernel.org kernels should work ok. -- MST