From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Neave Subject: Re: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2 Date: Tue, 22 Feb 2011 10:11:36 +0000 Message-ID: References: <20110207132641.GD2665@redhat.com> <1297705728.14733.50.camel@x201> <1298322078.5764.45.camel@x201> <20110222015119.GY9869@sequoia.sous-sol.org> <20110222095358.GE16508@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Chris Wright , Alex Williamson , "kvm@vger.kernel.org" To: "Roedel, Joerg" Return-path: Received: from mail-qw0-f46.google.com ([209.85.216.46]:62544 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753892Ab1BVKL6 convert rfc822-to-8bit (ORCPT ); Tue, 22 Feb 2011 05:11:58 -0500 Received: by qwd7 with SMTP id 7so2717338qwd.19 for ; Tue, 22 Feb 2011 02:11:57 -0800 (PST) In-Reply-To: <20110222095358.GE16508@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: 2011/2/22 Roedel, Joerg : > On Tue, Feb 22, 2011 at 04:18:20AM -0500, James Neave wrote: >> On Tue, Feb 22, 2011 at 1:51 AM, Chris Wright = wrote: >> I added "capability sys_rawio" to the libvirtd apparmor profile, >> restarted apparmor and libvirt-bin and it just complained about the >> apparmor profile. >> The only other thing I did was compile the latest virt-manager 0.8.6= , >> don't see how that would have made any difference. > > Can you disable apparmor completly for testing purposes and try again= ? > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Joerg > > > -- > AMD Operating System Research Center > > Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach > General Managers: Alberto Bozzo, Andrew Bowd > Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB N= r. 43632 > > Hi, Never tried that before, although I guess this is how you do it:https://help.ubuntu.com/community/AppArmor#Disable%20AppArmor%20fram= ework I'll try that next time I get some time home, which probably won't be until Wednesday evening GMT. That's assuming that after the powercycle the machine doesn't revert to it's "pci-stub is occupying the device" error! (still not really sure how I stopped that happening, it just stopped after I tried to pass through the sound card) Regardless, many thanks and I shall return later this week. James.