mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
eab70139a6
commit
60ba3cc231
5 changed files with 17 additions and 10 deletions
2
hw/msi.h
2
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue