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>
16 lines
300 B
Plaintext
16 lines
300 B
Plaintext
config PCI
|
|
bool
|
|
|
|
config PCI_EXPRESS
|
|
bool
|
|
select PCI
|
|
|
|
config PCI_DEVICES
|
|
bool
|
|
|
|
config MSI_NONBROKEN
|
|
# selected by interrupt controllers that do not support MSI,
|
|
# or support it and have a good implementation. See commit
|
|
# 47d2b0f33c664533b8dbd5cb17faa8e6a01afe1f.
|
|
bool
|