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
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(&mydev->msix, OBJECT(edu), "mydev-msix",
MYDEV_MSIX_SIZE);
pci_register_bar(pdev, MYDEV_MSIX_IDX