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

[Xen-users] How to enable MSI-X interrupts for VM in XenServer6.0


I am using Citrix XenServer 6.0.
I am working on a PCI Card that supports SR-IOV and MSI-X interrupts.

In my driver in dom0, I created multiple VFs for the Card (pci_enable_sriov()) and
exposed one VF to a guest VM through PCI passthrough.
xe vm-param-set other-config:pci=0/000:05:00.1 uuid=5282688d-8f5e-1336-3bee-7730f051a872

In guest VM:
I am working on a driver that uses MSI-X interrupts.
When I checked "cat /proc/interrupts", I am able to see the requested MSI-X interrupts.
But the problem is, MSI-X interrupts are not getting generated.

This happens only when I expose(passthrough) a VF to the guest VM.
But when I expose the PCI card as it is to the guest VM (without creating VFs), I am able to see
MSI-X interrupts getting generated on guest VM.

The problem is seen only when VF is exposed to the guest VM.

I havent seen this issue, when I use the same driver in Linux KVM and it successfully generates MSI-X interrupts in VF case also.

Could someone please tell me how to route interrupts to the VM in XenServer or any possible solution to solve this issue.

Thanks in Advance

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.