Re: IOMMU and VFs

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

 



* Yevgeny Petrilin (yevgenyp@xxxxxxxxxxxxxx) wrote:
> Hello,
> 
> I have the following issue:
> Our HW device is SRIOV capable, I have tried passing through one of its Virtual Functions to a guest OS Running RH5.4 on the guest and the host.
> The function is seen by "lspci" on the guest, however, when the HW tries to DMA the guest with the BDF of the VF, it sees all 0's.
> Same operation succeeds when the virtual device runs on the host.
> I have VT-d enabled in BIOS.

Which kvm/qemu-kvm version?  Newer ones will verify that you actually
have VT-d fully enabled.

Can you do 'dmesg | grep -e DMAR -e IOMMU' in the host and then we can
verify that the IOMMU is functioning.

> Is there is anything else I need to configure?

You may need to configure VT-d support in your kernel, or manually
enable it on the kernel commandline (intel_iommu=on).  Oh...I see,
RHEL5.4 host, yeah, you need intel_iommu=on.

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