diff options
author | Eric Auger <eric.auger@redhat.com> | 2020-03-11 14:16:18 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-03-12 16:27:33 +0000 |
commit | 6785aee00c0797c1c8ce7d07dc434ace464f97ea (patch) | |
tree | fb702c83e3a8d91b6ff2157cf2ec07b3bc2f46b9 /target/arm/kvm64.c | |
parent | 97b4c9188c6537151defd7632bd7b5908f10052c (diff) | |
download | qemu-6785aee00c0797c1c8ce7d07dc434ace464f97ea.zip qemu-6785aee00c0797c1c8ce7d07dc434ace464f97ea.tar.gz qemu-6785aee00c0797c1c8ce7d07dc434ace464f97ea.tar.bz2 |
hw/arm/virt: kvm: allow gicv3 by default if v2 cannot work
At the moment if the end-user does not specify the gic-version along
with KVM acceleration, v2 is set by default. However most of the
systems now have GICv3 and sometimes they do not support GICv2
compatibility.
This patch keeps the default v2 selection in all cases except
in the KVM accelerated mode when either
- the host does not support GICv2 in-kernel emulation or
- number of VCPUS exceeds 8.
Those cases did not work anyway so we do not break any compatibility.
Now we get v3 selected in such a case.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-id: 20200311131618.7187-7-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/kvm64.c')
0 files changed, 0 insertions, 0 deletions