PROBLEM: pci_alloc_irq_vectors function request 32 MSI interrupts vectors, but return 1 in KVM virtual machine.

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

 



Hi all:
I have a question about PCI which troubled me for a few weeks.
I have a virtual machine with ubuntu 16.4.03  on KVM platform. There is a PCIe device(Xilinx PCIe IP) plugged in the host machine.
On the ubuntu operation system, I am developing the pcie driver. When I use pci_alloc_irq_vectors() function to allocate 32 msi vectors, but return 1.
The command  `lspci -vvv` output shows 
MSI: Enable+ Count=1/32 Maskable+ 64bit+


there is a similar case https://stackoverflow.com/questions/49821599/multiple-msi-vectors-linux-pci-alloc-irq-vectors-return-one-while-the-devi.
But not working for KVM virtual machine.


I do not known why the function  pci_alloc_irq_vectors() returns one ?


Best regards.




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux