diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-07-20 18:30:50 +0900 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-07-29 16:02:25 +0100 |
| commit | 0d2aac4ab1777162c7a7ecd5a6d5d4de93842116 (patch) | |
| tree | 0a275712de58e32d1547e6d90151f448500bebe0 /scripts/compare-machine-types.py | |
| parent | 613d0b8ebbf1fa32f8037cb02b7c82f96011ef2d (diff) | |
| download | focaccia-qemu-0d2aac4ab1777162c7a7ecd5a6d5d4de93842116.tar.gz focaccia-qemu-0d2aac4ab1777162c7a7ecd5a6d5d4de93842116.zip | |
target/arm/kvm: Do not silently remove PMU
kvm_arch_init_vcpu() used to remove PMU when it is not available even if the CPU model needs one. It is semantically incorrect, and may continue execution on a misbehaving host that advertises a CPU model while lacking its PMU. Keep the PMU when the CPU model needs one, and let kvm_arm_vcpu_init() fail if the KVM implementation mismatches with our expectation. 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 'scripts/compare-machine-types.py')
0 files changed, 0 insertions, 0 deletions