From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq9IO-0005u0-Hr for qemu-devel@nongnu.org; Fri, 21 Jun 2013 17:55:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uq9IN-00077I-QJ for qemu-devel@nongnu.org; Fri, 21 Jun 2013 17:55:04 -0400 Message-ID: <1371851687.3944.69.camel@pasglop> From: Benjamin Herrenschmidt Date: Sat, 22 Jun 2013 07:54:47 +1000 In-Reply-To: <0E9E14EB-DD5F-4B7A-ACE5-6C9F0103324C@suse.de> References: <1371806575-19347-1-git-send-email-aik@ozlabs.ru> <1371806575-19347-3-git-send-email-aik@ozlabs.ru> <1371816181.3944.58.camel@pasglop> <4C36A400-2A38-458A-B849-8D8F6D49A566@suse.de> <1371816659.3944.63.camel@pasglop> <0E9E14EB-DD5F-4B7A-ACE5-6C9F0103324C@suse.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/3] KVM: add kvm_arch_irqchip_add_msi_route List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Anthony Liguori , Alexey Kardashevskiy , qemu-devel@nongnu.org, Alex Williamson , qemu-ppc@nongnu.org, David Gibson On Fri, 2013-06-21 at 15:46 +0200, Alexander Graf wrote: > Not sure. We could just declare a "direct virq==irq" mode in which > msi.data == virq == irq. No need for any translation then. Maybe. Beware that MSI data is only 16-bit on the wire but we may not care here. One thing I'm not 100% certain of is how Alexey makes all that work with VFIO since the MSI address/data in the device shall not be the qemu "cooked up" ones, but the real HW ones (corresponding to a different host interrupt). How do that work ? Cheers, Ben.