summaryrefslogtreecommitdiff
path: root/hw/msix.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-11-24 16:44:15 +0200
committerMichael S. Tsirkin <mst@redhat.com>2009-12-01 17:58:27 +0200
commitb5f28bcaeec3ca54755f24ae665c4028fc598d77 (patch)
tree162776a498635135b044f9f4cd123ab2fe8336b5 /hw/msix.h
parent88a9556430df57cbe7666e4e4cf78c3bd3bc8220 (diff)
downloadqemu-b5f28bcaeec3ca54755f24ae665c4028fc598d77.tar.gz
msix: add helper to unuse all msix entries
will be used by virtio on soft reset Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/msix.h')
-rw-r--r--hw/msix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/msix.h b/hw/msix.h
index 39fa568f9c..a9f7993c39 100644
--- a/hw/msix.h
+++ b/hw/msix.h
@@ -25,6 +25,7 @@ uint32_t msix_bar_size(PCIDevice *dev);
int msix_vector_use(PCIDevice *dev, unsigned vector);
void msix_vector_unuse(PCIDevice *dev, unsigned vector);
+void msix_unuse_all_vectors(PCIDevice *dev);
void msix_notify(PCIDevice *dev, unsigned vector);