From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Sturm Subject: Shared IRQ with PCI Passthrough? Date: Sat, 13 Aug 2011 15:04:34 +1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:60806 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750845Ab1HMFKJ (ORCPT ); Sat, 13 Aug 2011 01:10:09 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qs6U2-00050I-RN for kvm@vger.kernel.org; Sat, 13 Aug 2011 07:10:07 +0200 Received: from cpe-124-187-84-191.lns10.woo.bigpond.net.au ([124.187.84.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Aug 2011 07:10:06 +0200 Received: from cyclonic2k by cpe-124-187-84-191.lns10.woo.bigpond.net.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Aug 2011 07:10:06 +0200 Sender: kvm-owner@vger.kernel.org List-ID: Hi, back in Dec 2010 Jan Kiszka posted a number of patches that deal with IRQ sharing. [PATCH 0/5] pci-assign: Host IRQ sharing suppport + some fixes and cleanups http://thread.gmane.org/gmane.comp.emulators.kvm.devel/64601 [PATCH v3 0/4] KVM & genirq: Enable adaptive IRQ sharing for passed-through devices http://thread.gmane.org/gmane.linux.kernel/1076440 [PATCH 0/2] Small KVM device assignment cleanups http://thread.gmane.org/gmane.comp.emulators.kvm.devel/64515 What do I need to do to apply these patches to my system? The server I'm working on is running Proxmox 1.8 with upgraded 2.6.35-1-pve kernel (previously 2.6.32-4-pve) and qemu-kvm 0.14.1. Do I need to upgrade to a newer kernel, or upgrade qemu-kvm (e.g. 0.15.0), or both? The problem that I'm hoping to solve is an IRQ conflict. The Intel DQ67SW motherboard only has 1 PCI slot and no BIOS support for assigning IRQs. KVM PCI passthrough only works with the nousb kernel parameter, otherwise the ehci_hcd:usb1 conflicts with the PCI's assigned IRQ 16. This is a problem because I also need to USB passthrough a dongle required by the software (in WinXP guest). Thanks for any pointers, Mick