From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv0la-0006Ev-JI for qemu-devel@nongnu.org; Wed, 20 May 2015 05:58:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yv0lW-0006MO-Fp for qemu-devel@nongnu.org; Wed, 20 May 2015 05:58:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv0lW-0006MK-BT for qemu-devel@nongnu.org; Wed, 20 May 2015 05:58:18 -0400 Date: Wed, 20 May 2015 11:58:15 +0200 From: "Michael S. Tsirkin" Message-ID: <20150520115740-mutt-send-email-mst@redhat.com> References: <555B5CBC.1090709@twiddle.net> <20150519181735-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] virtio-pci msix error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Fam Zheng , qemu-devel , Richard Henderson On Tue, May 19, 2015 at 09:11:26PM +0100, Peter Maydell wrote: > On 19 May 2015 at 20:16, Michael S. Tsirkin wrote: > > On Tue, May 19, 2015 at 08:54:36AM -0700, Richard Henderson wrote: > >> Re patch c7ff5482. What's the point of this error? > >> It's going to always appear for older targets that > >> predate such new fangled things as msix. > >> > >> Obviously the patch has been there a while, and it's > >> not actually causing any problems, but today it got > >> on my nerves... > > > So don't specify nvectors > 0 for these platforms then? > > How do you do that? I did a quick 'git grep' for nvectors > and none of the hits are in platform-dependent code... > > Why can't the virtio-pci device automatically detect > whether the PCI bus it's plugged into supports MSIx > and just do the right thing? > > -- PMM I mean why does *user* specify nvectors > 0? -- MST