aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-07-20 18:30:49 +0900
committerPeter Maydell <peter.maydell@linaro.org>2024-07-29 14:50:25 +0100
commit613d0b8ebbf1fa32f8037cb02b7c82f96011ef2d (patch)
tree38a7ad7f094405135a6fd36b514a7bdae3348756 /module-common.c
parent8deba2f36e9f7e34bf1805b08e69699486481c8a (diff)
downloadqemu-613d0b8ebbf1fa32f8037cb02b7c82f96011ef2d.zip
qemu-613d0b8ebbf1fa32f8037cb02b7c82f96011ef2d.tar.gz
qemu-613d0b8ebbf1fa32f8037cb02b7c82f96011ef2d.tar.bz2
target/arm/kvm: Set PMU for host only when available
target/arm/kvm.c checked PMU availability but unconditionally set the PMU feature flag for the host CPU model, which is confusing. Set the feature flag only when available. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions