From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Sturm Subject: Re: Shared IRQ with PCI Passthrough? Date: Tue, 23 Aug 2011 22:52:59 +1000 Message-ID: <4E53A2AB.7010500@yahoo.com.au> References: <4A45D16B02D8A44BB4DBAE81F07BFD88D9C3@IRSMSX101.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: kvm@vger.kernel.org Return-path: Received: from lo.gmane.org ([80.91.229.12]:59979 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752656Ab1HWMxW (ORCPT ); Tue, 23 Aug 2011 08:53:22 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QvqTn-0007SI-Ac for kvm@vger.kernel.org; Tue, 23 Aug 2011 14:53:19 +0200 Received: from cpe-60-228-57-197.lns9.ken.bigpond.net.au ([60.228.57.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2011 14:53:19 +0200 Received: from cyclonic2k by cpe-60-228-57-197.lns9.ken.bigpond.net.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2011 14:53:19 +0200 In-Reply-To: <4A45D16B02D8A44BB4DBAE81F07BFD88D9C3@IRSMSX101.ger.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 19-08-11 0:02, Gardziejczyk, Kamil wrote: > Hi, > > Have you resolve your problem with shared IRQ lines? I have checked out qemu-kvm 0.15.0 and found that Jan Kiszka patch was applied to latest version of kvm. > > [PATCH 0/5] pci-assign: Host IRQ sharing suppport + some fixes and cleanups > http://thread.gmane.org/gmane.comp.emulators.kvm.devel/64601 > > Which version of linux kernel do you use? I have tried with 3.0.0. It looks that Jan Kiszka`s patches were not added to that kernel version. Maybe it is in 2.6.xxx? > Any ideas how to fix it? :) > > Hi Kamil, Thanks for your reply. For testing purposes, I've installed Ubuntu 11.04 Server (64-bit) on a separate physical disk. The default kernel of this setup is 2.6.38-8-server (slightly newer than the Proxmox kernel 2.6.35-1-pve I was using previously). As you suggested, I too have now tested qemu-kvm 0.15.0. (git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git and compiling the stable-0.15 branch). As before, using the nousb kernel option (with intel_iommu=on) my WinXP guest with pci-passthrough works fine, but without the nousb option, the guest cannot be started. My next attempt will be to try the KVM external module kit, compiling the latest code from the git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git. I think using the module kit rather than patching and compiling a custom kernel should work better in my case (if I'm moving back to Proxmox later), yet still update KVM to the latest code. Hopefully this will resolve the IRQ conflict. Any other ideas? Mick