ca9b7e29de
Not all interrupt controllers have a working implementation of message-signalled interrupts; in some cases, the guest may expect MSI to work but it won't due to the buggy or lacking emulation. In QEMU this is represented by the "msi_nonbroken" variable. This patch adds a new configuration symbol enabled whenever the binary contains an interrupt controller that will set "msi_nonbroken". We can then use it to remove devices that cannot be possibly added to the machine, because they require MSI. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
61 lines
721 B
Plaintext
61 lines
721 B
Plaintext
config HEATHROW_PIC
|
|
bool
|
|
|
|
config I8259
|
|
bool
|
|
|
|
config PL190
|
|
bool
|
|
|
|
config IOAPIC
|
|
bool
|
|
|
|
config ARM_GIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
|
|
config OPENPIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
|
|
config APIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
|
|
config ARM_GIC_KVM
|
|
bool
|
|
default y
|
|
depends on ARM_GIC && KVM
|
|
|
|
config OPENPIC_KVM
|
|
bool
|
|
default y
|
|
depends on OPENPIC && KVM
|
|
|
|
config XICS
|
|
bool
|
|
depends on POWERNV || PSERIES
|
|
|
|
config XICS_SPAPR
|
|
bool
|
|
select XICS
|
|
|
|
config XICS_KVM
|
|
bool
|
|
default y
|
|
depends on XICS && KVM
|
|
|
|
config ALLWINNER_A10_PIC
|
|
bool
|
|
|
|
config S390_FLIC
|
|
bool
|
|
|
|
config S390_FLIC_KVM
|
|
bool
|
|
default y
|
|
depends on S390_FLIC && KVM
|
|
|
|
config OMPIC
|
|
bool
|