summary refs log tree commit diff stats
path: root/hw/pci/msix.c
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2025-06-10 08:39:22 -0700
committerCédric Le Goater <clg@redhat.com>2025-06-11 14:01:58 +0200
commit8df3fa3d6753332a64eca53780517972075966e1 (patch)
tree632875d9a38029902df08399b34c0243ce806ab1 /hw/pci/msix.c
parenteba1f657cbb1b525e2b069626de655da21084e3e (diff)
downloadfocaccia-qemu-8df3fa3d6753332a64eca53780517972075966e1.tar.gz
focaccia-qemu-8df3fa3d6753332a64eca53780517972075966e1.zip
pci: export msix_is_pending
Export msix_is_pending for use by cpr.  No functional change.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/qemu-devel/1749569991-25171-10-git-send-email-steven.sistare@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/pci/msix.c')
-rw-r--r--hw/pci/msix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/msix.c b/hw/pci/msix.c
index 66f27b9d71..8c7f6709e2 100644
--- a/hw/pci/msix.c
+++ b/hw/pci/msix.c
@@ -72,7 +72,7 @@ static uint8_t *msix_pending_byte(PCIDevice *dev, int vector)
     return dev->msix_pba + vector / 8;
 }
 
-static int msix_is_pending(PCIDevice *dev, int vector)
+int msix_is_pending(PCIDevice *dev, unsigned int vector)
 {
     return *msix_pending_byte(dev, vector) & msix_pending_mask(vector);
 }