qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] error when doing passthrough of bcm netextreme II 10 G device
@ 2011-07-21 18:19 Sinha, Ani
  2011-07-22 10:53 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Sinha, Ani @ 2011-07-21 18:19 UTC (permalink / raw)
  To: qemu-devel@nongnu.org; +Cc: Sinha, Ani

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 :
qemu-system-x86_64 --help
QEMU PC emulator version 0.12.4 (qemu-kvm-0.12.4), Copyright (c) 2003-2008
Fabrice Bellard



Thanks in advance for the help,
Ani.


============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] error when doing passthrough of bcm netextreme II 10 G device
  2011-07-21 18:19 [Qemu-devel] error when doing passthrough of bcm netextreme II 10 G device Sinha, Ani
@ 2011-07-22 10:53 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2011-07-22 10:53 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-22 10:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21 18:19 [Qemu-devel] error when doing passthrough of bcm netextreme II 10 G device Sinha, Ani
2011-07-22 10:53 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).