Received: from eggs.gnu.org ([2001:4830:134:3::10]:34399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gI8Db-0004Nw-TX for qemu-devel@nongnu.org; Thu, 01 Nov 2018 04:20:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gI8DZ-0003db-5e for qemu-devel@nongnu.org; Thu, 01 Nov 2018 04:20:43 -0400 Message-ID: From: Andrea Bolognani Date: Thu, 01 Nov 2018 09:20:33 +0100 In-Reply-To: References: <3f834825634e34ad107fe9e7af1b417cb47fc1f1.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v6 0/5] Connect a PCIe host and graphics support to RISC-V List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis Cc: Alistair Francis , "qemu-devel@nongnu.org Developers" , qemu-riscv@nongnu.org On Wed, 2018-10-31 at 13:10 -0700, Alistair Francis wrote: > On Wed, Oct 31, 2018 at 7:51 AM Andrea Bolognani wrote: > > With the pcie.0 <- pcie-root-port <- virtio-net-pci setup I get > > > > qemu-system-riscv64: -device pcie-root-port,port=0x8,chassis=1,\ > > id=pci.1,bus=pcie.0,multifunction=on,addr=0x1: MSI-X is not \ > > supported by interrupt controller > > > > just like last time, which as I mentioned is a problem for libvirt > > because we follow the recommendations outlined in qemu/docs/pcie.txt > > and never plug devices into pcie.0 directly. > > At the moment we can't support MSI, the interrupt controller doesn't > support MSI. I see. Are there plans for that to change? Will we eventually need something like Arm's 'gic-version' machine option to pick a more featureful interrupt controller? Either way, as it is we certainly can't flip the default to virtio-pci at the libvirt level quite yet, so we'll have to stick with virtio-mmio for a while longer... Not exactly the outcome I was hoping for :( > > Let me know if you need me to try anything else :) > > Any ideas on how to debug the confusing memory mappings or > non-existent interrupts would be helpful :) Sorry, not really my area of expertise O:-) -- Andrea Bolognani / Red Hat / Virtualization