From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gerd v. Egidy" Subject: Re: pci device passthrough: Failed to assign irq Date: Thu, 13 May 2010 23:34:04 +0200 Message-ID: <201005132334.04264.lists@egidy.de> References: <201005131907.06973.lists@egidy.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: "Gerd v. Egidy" , kvm@vger.kernel.org Return-path: Received: from re01.intra2net.com ([82.165.28.202]:49077 "EHLO re01.intra2net.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754516Ab0EMVxT (ORCPT ); Thu, 13 May 2010 17:53:19 -0400 Received: from intragerd.n.i2n (unknown [192.168.13.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by re01.intra2net.com (Postfix) with ESMTP id E07984406 for ; Thu, 13 May 2010 23:34:08 +0200 (CEST) Received: from localhost (intragerd.n.i2n [127.0.0.1]) by localhost (Postfix) with ESMTP id 143C146C56 for ; Thu, 13 May 2010 23:34:08 +0200 (CEST) In-Reply-To: <201005131907.06973.lists@egidy.de> Sender: kvm-owner@vger.kernel.org List-ID: > I'm trying to pass a pcie-device into a kvm guest. qemu-kvm is started > by libvirt with this command: [...] > Failed to assign irq for "hostdev0": Operation not permitted > Perhaps you are assigning a device that shares an IRQ with another device? Found out what was causing the issue: Current libvirt seems to drop CAP_SYS_RAWIO before forking qemu-kvm. When I patch libvirt to not drop the capabilities, everything works as expected. So no problem in kvm, sorry for the noise. Kind regards, Gerd