diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-05-17 10:32:38 -0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-05-21 19:22:50 +0300 |
commit | cb697aaab9c1d8078721513a11cb1ce2729b9c92 (patch) | |
tree | 1b19040226f8ed9b03f601ad679636918d01942b /hw/msix.h | |
parent | bbf3b80401d55ac3339160cefa17f0015317f512 (diff) |
msix: Add msix_nr_vectors_allocated
Analogously to msi_nr_vectors_allocated, add a service for MSI-X. Will
be used by the virtio-pci layer.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/msix.h')
-rw-r--r-- | hw/msix.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,8 @@ void msix_write_config(PCIDevice *pci_dev, uint32_t address, int msix_uninit(PCIDevice *d, MemoryRegion *bar); +unsigned int msix_nr_vectors_allocated(const PCIDevice *dev); + void msix_save(PCIDevice *dev, QEMUFile *f); void msix_load(PCIDevice *dev, QEMUFile *f); |