Received: from eggs.gnu.org ([2001:4830:134:3::10]:50817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvVZS-00010V-Np for qemu-devel@nongnu.org; Thu, 21 May 2015 14:51:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvVZQ-0005m9-1P for qemu-devel@nongnu.org; Thu, 21 May 2015 14:51:54 -0400 Received: from s16892447.onlinehome-server.info ([82.165.15.123]:54205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvVZP-0005cE-Qx for qemu-devel@nongnu.org; Thu, 21 May 2015 14:51:51 -0400 Message-ID: <555E2936.5090509@ilande.co.uk> Date: Thu, 21 May 2015 19:51:34 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 References: <1432067391-19834-1-git-send-email-rth@twiddle.net> <20150520115838-mutt-send-email-mst@redhat.com> <555CA3EE.3020809@twiddle.net> In-Reply-To: <555CA3EE.3020809@twiddle.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] virtio: Notice when the system doesn't support MSIx at all List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , "Michael S. Tsirkin" Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org On 20/05/15 16:10, Richard Henderson wrote: > On 05/20/2015 02:59 AM, Michael S. Tsirkin wrote: >> On Tue, May 19, 2015 at 01:29:51PM -0700, Richard Henderson wrote: >>> And do not issue an error_report in that case. >>> >>> Signed-off-by: Richard Henderson >>> --- >>> hw/virtio/virtio-pci.c | 15 ++++++++++----- >>> 1 file changed, 10 insertions(+), 5 deletions(-) >>> -- >>> >>> This seems to be about the only sane way to test the value of >>> msi_supported from here. Thoughts? >>> >>> >>> r~ >> >> Can you please include the qemu command-line that triggers the error >> in the commit log? > > $ ../run/bin/qemu-system-alpha -drive file=foo.img,if=virtio,format=raw > qemu-system-alpha: -drive file=foo.img,if=virtio,format=raw: unable to init > msix vectors to 2 I also get the same message on qemu-system-sparc64 as below (FWIW I did raise this on-list months ago but no-one replied to my post at the time): ./qemu-system-sparc64 -drive file=debian-7.7.0-sparc-netinst.iso,if=virtio,readonly=on,index=1 -nographic ATB, Mark.