summary refs log tree commit diff stats
path: root/include/hw/pci/msix.h
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 /include/hw/pci/msix.h
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 'include/hw/pci/msix.h')
-rw-r--r--include/hw/pci/msix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci/msix.h b/include/hw/pci/msix.h
index 0e6f257e45..11ef9454c1 100644
--- a/include/hw/pci/msix.h
+++ b/include/hw/pci/msix.h
@@ -32,6 +32,7 @@ int msix_present(PCIDevice *dev);
 bool msix_is_masked(PCIDevice *dev, unsigned vector);
 void msix_set_pending(PCIDevice *dev, unsigned vector);
 void msix_clr_pending(PCIDevice *dev, int vector);
+int msix_is_pending(PCIDevice *dev, unsigned vector);
 
 void msix_vector_use(PCIDevice *dev, unsigned vector);
 void msix_vector_unuse(PCIDevice *dev, unsigned vector);