diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-10-15 14:33:17 +0200 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-01-19 12:14:39 +0100 |
commit | 60ba3cc231d6bc7b802ad4fe6b6fc159ecb112e2 (patch) | |
tree | 7368fee5e23cc57ef5c6be971333e48432983c97 /hw/msi.h | |
parent | eab70139a6772f1735444d4f1daadc7bcfa7dc47 (diff) |
msi: Generalize msix_supported to msi_supported
Rename msix_supported to msi_supported and control MSI and MSI-X
activation this way. That was likely to original intention for this
flag, but MSI support came after MSI-X.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/msi.h')
-rw-r--r-- | hw/msi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,6 +24,8 @@ #include "qemu-common.h" #include "pci.h" +extern bool msi_supported; + bool msi_enabled(const PCIDevice *dev); int msi_init(struct PCIDevice *dev, uint8_t offset, unsigned int nr_vectors, bool msi64bit, bool msi_per_vector_mask); |