From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAUmP-0000EC-4r for qemu-devel@nongnu.org; Wed, 21 Mar 2012 19:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAUmN-0005Tm-FI for qemu-devel@nongnu.org; Wed, 21 Mar 2012 19:17:20 -0400 Received: from fmmailgate06.web.de ([217.72.192.247]:53071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAUmN-0005TS-8e for qemu-devel@nongnu.org; Wed, 21 Mar 2012 19:17:19 -0400 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate06.web.de (Postfix) with ESMTP id DB88EFEA8AD for ; Thu, 22 Mar 2012 00:17:17 +0100 (CET) From: Jan Kiszka Date: Thu, 22 Mar 2012 00:17:08 +0100 Message-Id: Subject: [Qemu-devel] [RFC][PATCH 0/2] uq/master: Basic MSI support for in-kernel irqchip mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , Marcelo Tosatti Cc: qemu-devel , kvm@vger.kernel.org, "Michael S. Tsirkin" Some half a year ago when I posted my first attempt to refactor MSI for KVM support, we came to the conclusion that it might suffice to do transparent dynamic routing for user-space injected MSI messages. These two patches now implement such an approach for upstream. As QEMU does not yet include irqfd support (for vhost) or pci device assignment, this is already enough to enable MSI over the in-kernel irqchip. Still, this is only RFC as it is just lightly tested and should primarily collect feedback regarding the direction. If it's fine, I'd like to base further qemu-kvm refactorings and upstream preparations on top of such a series. Also, I'd like to reanimate my KVM patch to provide direct MSI injection in future kernels so that we do not need to take this long path here forever. Jan Kiszka (2): kvm: Introduce basic MSI support in-kernel irqchips KVM: x86: Wire up MSI support for in-kernel irqchip hw/apic.c | 3 + hw/kvm/apic.c | 33 ++++++++++- hw/pc.c | 5 -- kvm-all.c | 171 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- kvm.h | 1 + 5 files changed, 205 insertions(+), 8 deletions(-) -- 1.7.3.4