mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -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
4
hw/pc.c
4
hw/pc.c
|
@ -36,7 +36,7 @@
|
|||
#include "elf.h"
|
||||
#include "multiboot.h"
|
||||
#include "mc146818rtc.h"
|
||||
#include "msix.h"
|
||||
#include "msi.h"
|
||||
#include "sysbus.h"
|
||||
#include "sysemu.h"
|
||||
#include "blockdev.h"
|
||||
|
@ -896,7 +896,7 @@ static DeviceState *apic_init(void *env, uint8_t apic_id)
|
|||
apic_mapped = 1;
|
||||
}
|
||||
|
||||
msix_supported = 1;
|
||||
msi_supported = true;
|
||||
|
||||
return dev;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue