aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/Kconfig
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-03-14 14:13:34 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-18 09:39:57 +0100
commitca9b7e29de3e79d6fe21bfc21297770a98d54e58 (patch)
treeb5e009179f964299b85c3fb471999a851cc60406 /hw/ppc/Kconfig
parent4f5604c41d4a4d41964dfacaa87b08178abcc838 (diff)
downloadqemu-ca9b7e29de3e79d6fe21bfc21297770a98d54e58.zip
qemu-ca9b7e29de3e79d6fe21bfc21297770a98d54e58.tar.gz
qemu-ca9b7e29de3e79d6fe21bfc21297770a98d54e58.tar.bz2
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>
Diffstat (limited to 'hw/ppc/Kconfig')
-rw-r--r--hw/ppc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
index 2b83637..73b473c 100644
--- a/hw/ppc/Kconfig
+++ b/hw/ppc/Kconfig
@@ -8,6 +8,7 @@ config PSERIES
select VFIO if LINUX # needed by spapr_pci_vfio.c
select XICS_SPAPR
select XIVE_SPAPR
+ select MSI_NONBROKEN
config SPAPR_RNG
bool