Re: PCI device assignment to Guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Eric Liu (ericliu2008@xxxxxxxxxxx) wrote:
> Anyone has experience to assign PCI-E based InfiniBand card to
> guest OS(RHEL5U2 with kernel 2.6.18-92) on latest AMD with IOMMU
> support. Host OS has kernel 2.6.29.
> 
> Steps I used:
> 
>  $> echo -n "8086 10de" > /sys/bus/pci/drivers/pci-stub/new_id
>  $> echo -n 0000:00:19.0> /sys/bus/pci/drivers/e1000e/unbind
>  $> echo -n 0000:00:19.0> /sys/bus/pci/drivers/pci-stub/bind

The steps above are specific to an e1000e device.

> Then
> I started guest with -pcidevice host=id. After guest is started, it
> successfully detected pci device with lspci command, however kernel
> can't bring up the device. dmesg shows infiniband kernel module can't
> detect infiniband card firmware properly then aborted. I think it is
> KVM issue rather than infiniband kernel module issue. Can anyone
> suggest?

Sounds like you may have two drivers for this device.

Can you include (on the host) lspci -tv and lspci -vvv?

thanks,
-chris
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux