From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 43339] Wrong Pci-Bridge Header Type check. Date: Tue, 5 Jun 2012 18:33:47 +0000 (UTC) Message-ID: <20120605183347.196AF11FC41@bugzilla.kernel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:37678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754793Ab2FESdt (ORCPT ); Tue, 5 Jun 2012 14:33:49 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BBD6E2036C for ; Tue, 5 Jun 2012 18:33:48 +0000 (UTC) Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.204]) by mail.kernel.org (Postfix) with ESMTP id 21B1F20366 for ; Tue, 5 Jun 2012 18:33:47 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=43339 Alex Williamson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex.williamson@redhat.com --- Comment #1 from Alex Williamson 2012-06-05 18:33:46 --- (In reply to comment #0) > > So, 1 & 0xE == 0 thus KVM assigns pci-bridge device to VM successfully. Have you found this to be true in practice? The test here is clearly wrong, but immediately after this we test pci-sysfs resource permissions. We only test standard device resources, as we're not expecting a bridge to get through, but I believe those should all be zero for a bridge, which will result in denying assignment of the device because it has no resources. If you have a pci-bridge that actually makes it through that test, please include lspci -vvv for it here. Thanks -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.