kconfig: add CONFIG_MSI_NONBROKEN
commitca9b7e29de3e79d6fe21bfc21297770a98d54e58
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Mar 2019 13:13:34 +0000 (14 14:13 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Mar 2019 08:39:57 +0000 (18 09:39 +0100)
treeb5e009179f964299b85c3fb471999a851cc60406
parent4f5604c41d4a4d41964dfacaa87b08178abcc838
kconfig: add CONFIG_MSI_NONBROKEN

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>
hw/intc/Kconfig
hw/pci-host/Kconfig
hw/pci/Kconfig
hw/ppc/Kconfig
hw/riscv/Kconfig
hw/s390x/Kconfig