OSDN Git Service

hw/arm/virt: Fix gic-version=max when CONFIG_ARM_GICV3_TCG is unset
authorEric Auger <eric.auger@redhat.com>
Tue, 8 Mar 2022 18:24:52 +0000 (19:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 18 Mar 2022 10:55:15 +0000 (10:55 +0000)
commit299b4a3ecf1c7dcc57e55150d4cb234340749854
tree561be9787ba4bc9b77c673854dbffff79fea82ab
parent16d91e06b37fca0772866e12d4e146a519841b0f
hw/arm/virt: Fix gic-version=max when CONFIG_ARM_GICV3_TCG is unset

In TCG mode, if gic-version=max we always select GICv3 even if
CONFIG_ARM_GICV3_TCG is unset. We shall rather select GICv2.
This also brings the benefit of fixing qos tests errors for tests
using gic-version=max with CONFIG_ARM_GICV3_TCG unset.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-id: 20220308182452.223473-3-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c