]> Git Repo - qemu.git/commit
target/arm/kvm: Let kvm_arm_vgic_probe() return a bitmap
authorEric Auger <[email protected]>
Wed, 11 Mar 2020 13:16:16 +0000 (14:16 +0100)
committerPeter Maydell <[email protected]>
Thu, 12 Mar 2020 16:27:33 +0000 (16:27 +0000)
commitd45efe47824a3d143fdc8d5990032deff4cec72b
treeb542fe228b90cce25a4d0d978fbdd27d4543bd11
parent36bf4ec8c8bb943f5be99172cb0506e1b520096e
target/arm/kvm: Let kvm_arm_vgic_probe() return a bitmap

Convert kvm_arm_vgic_probe() so that it returns a
bitmap of supported in-kernel emulation VGIC versions instead
of the max version: at the moment values can be v2 and v3.
This allows to expose the case where the host GICv3 also
supports GICv2 emulation. This will be useful to choose the
default version in KVM accelerated mode.

Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: 20200311131618[email protected]
Signed-off-by: Peter Maydell <[email protected]>
hw/arm/virt.c
target/arm/kvm.c
target/arm/kvm_arm.h
This page took 0.024133 seconds and 4 git commands to generate.