qemu-devel
[Top][All Lists]
Advanced

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

question about handling MSI-X by VFIO


From: Thanos Makatos
Subject: question about handling MSI-X by VFIO
Date: Tue, 21 Jan 2020 13:36:26 +0000

I'm passing through a virtual PCI device to a QEMU guest via VFIO/mdev and I
notice that MSI-X interrupts are disabled in the device (MSIXCAP.MXC.MXE is
zero) and the BARs containing the table and PBA (4 and 5 in my case) are never
accessed.  However, whenever I fire an MSI-X interrupt from the virtual device
(although I'm not supposed to do so as they're disabled), the guest seems to
correctly receive it. I've started looking at hw/vfio/pci.c and it seems that
VFIO handles MSI-X interrupts there, including masking etc?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]