mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00

KVM code might have to call functions on the PCIDevice that is passed to kvm_arch_fixup_msi_route(). This fails in the case where --without-default-devices is used and no board is configured. While this is not really a useful configuration, and therefore setting up stubs for CONFIG_PCI is overkill, failing the build is impolite. Just include the PCI subsystem if kvm_arch_fixup_msi_route() requires it, as is the case for ARM and x86. Reported-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
13 lines
320 B
Text
13 lines
320 B
Text
config ARM
|
|
bool
|
|
select ARM_COMPATIBLE_SEMIHOSTING if TCG
|
|
|
|
# We need to select this until we move m_helper.c and the
|
|
# translate.c v7m helpers under ARM_V7M.
|
|
select ARM_V7M if TCG
|
|
|
|
config AARCH64
|
|
bool
|
|
select ARM
|
|
# kvm_arch_fixup_msi_route() needs to access PCIDevice
|
|
select PCI if KVM
|