From 60ba3cc231d6bc7b802ad4fe6b6fc159ecb112e2 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Sat, 15 Oct 2011 14:33:17 +0200 Subject: 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 --- hw/msi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/msi.h') diff --git a/hw/msi.h b/hw/msi.h index 5766018d79..3040bb0b43 100644 --- a/hw/msi.h +++ b/hw/msi.h @@ -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); -- cgit v1.2.3