Re: Enable MSI-X support in PCIe device.

2020-10-25 Thread Douglas Su
I have tried to use msi only, but failed again. Is there and documentation details this? From: Qemu-devel on behalf of Douglas Su Sent: Thursday, October 22, 2020 20:32 To: QEMU Developers Subject: Enable MSI-X support in PCIe device. To use MSI-X interrupt

Enable MSI-X support in PCIe device.

2020-10-22 Thread Douglas Su
To use MSI-X interrupt in my PCIe device, In realize() function I make a MSIX initialization like this: #define MYDEV_MSIX_VEC_NUM 5 void realize() { memory_region_init(>msix, OBJECT(edu), "mydev-msix", MYDEV_MSIX_SIZE); pci_register_bar(pdev, MYDEV_MSIX_IDX,