From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJaHp-0000Fk-P5 for qemu-devel@nongnu.org; Mon, 18 Aug 2014 23:40:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJaHj-0008Hk-Hv for qemu-devel@nongnu.org; Mon, 18 Aug 2014 23:40:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJaHi-0008Dp-Sk for qemu-devel@nongnu.org; Mon, 18 Aug 2014 23:40:35 -0400 Message-ID: <53F2C72A.4080900@redhat.com> Date: Tue, 19 Aug 2014 11:40:26 +0800 From: Jason Wang MIME-Version: 1.0 References: <20140818114223.GA13779@gandi.net> In-Reply-To: <20140818114223.GA13779@gandi.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] vhost-net issue with multiples interfaces using MQ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: William Dauchy , QEMU Developers On 08/18/2014 07:42 PM, William Dauchy wrote: > Hello, > > Using qemu2.1.0, a linux v3.14.X x86_64 as host and a linux v3.12.X x86_64 as guest > I'm starting a VM with these network interfaces: > > [netdev "vifA.0"] > type = "tap" > vhost = "on" > ifname = "vifA.0" > downscript = "no" > script = "no" > queues = "2" > > [device "vifA.0"] > driver = "virtio-net-pci" > netdev = "vifA.0" > mac = "00:16:3e:1a:4e:11" > mq = "on" > vectors = "5" > > (and same config for two other interfaces but with a different MAC address) > > In the error message I'm getting during startup: > unable to start vhost net: 95: falling back on userspace virtio What's the qemu command line for your testing? I try simple command line with 3 mq cards in qemu 2.1. Everything works fine. > I saw that it's failing in `vhost_dev_start` where `vhost_dev_set_features` is returning an error. > r = vhost_dev_set_features(hdev, hdev->log_enabled); > I'm hitting the issue starting from three interfaces, i.e no problem with one or two. > I also don't have the issue with disabling multi queue. > > Am I wrong on something? What can I do to help debug this situation? > > Regards, Is this a regression? If yes, you can probably bisect to find the first bad commit. Thanks