From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkDLw-0003ph-DT for qemu-devel@nongnu.org; Fri, 22 Jul 2011 06:53:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkDLv-0000el-Ky for qemu-devel@nongnu.org; Fri, 22 Jul 2011 06:53:08 -0400 Received: from david.siemens.de ([192.35.17.14]:22660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkDLv-0000eP-A9 for qemu-devel@nongnu.org; Fri, 22 Jul 2011 06:53:07 -0400 Message-ID: <4E295690.2060102@siemens.com> Date: Fri, 22 Jul 2011 12:53:04 +0200 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] error when doing passthrough of bcm netextreme II 10 G device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Sinha, Ani" Cc: "qemu-devel@nongnu.org" On 2011-07-21 20:19, Sinha, Ani wrote: > Hi Folks : > > I am trying to assinga bcm netextreme II 10 G eth device to a guest using > PCI passthrough in QEMU. > > 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM57711 > 10-Gigabit PCIe > 01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM57711 > 10-Gigabit PCIe > > > > qemu> device_add pci-assign,host=01:00.0,id=e10g > > The device shows up in the guest but the driver is enable to attach to it : > > bnx2x 0000:00:05.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, high) -> IRQ > 10 > bnx2x 0000:00:05.0: setting latency timer to 64 > bnx2x: Cannot find power management capability, aborting > bnx2x 0000:00:05.0: PCI INT A disabled > bnx2x: probe of 0000:00:05.0 failed with error -5 > > > > As you can see, it errs with EIO (-5). Any ideas why this might be the > case? I am using 2.6.34.6 in the host, 2.6.27.39 in the guest and qemu > 0.12.4 : You should retry with qemu-kvm >= 0.14. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux