]> git.proxmox.com Git - mirror_qemu.git/commit
hw/intc/arm_gicv3: Introduce CONFIG_ARM_GIC_TCG Kconfig selector
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 15 Nov 2021 22:36:19 +0000 (23:36 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:35:10 +0000 (10:35 +0000)
commita8a5546798c3b59d2a6c37734ec1804e706d84e1
tree0abdb184b26212a0daef8ba9d0fb825c428bc296
parenta1d742d88b7c4aef31c265ee931dfc51ec4be017
hw/intc/arm_gicv3: Introduce CONFIG_ARM_GIC_TCG Kconfig selector

The TYPE_ARM_GICV3 device is an emulated one.  When using
KVM, it is recommended to use the TYPE_KVM_ARM_GICV3 device
(which uses in-kernel support).

When using --with-devices-FOO, it is possible to build a
binary with a specific set of devices. When this binary is
restricted to KVM accelerator, the TYPE_ARM_GICV3 device is
irrelevant, and it is desirable to remove it from the binary.

Therefore introduce the CONFIG_ARM_GIC_TCG Kconfig selector
which select the files required to have the TYPE_ARM_GICV3
device, but also allowing to de-select this device.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20211115223619.2599282-3-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/Kconfig
hw/intc/arm_gicv3.c
hw/intc/meson.build