diff options
author | fangying <fangying1@huawei.com> | 2020-06-16 10:32:29 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-06-16 10:32:29 +0100 |
commit | 9e6f8d8aab3afe6d704054e3fd850bcba5aa20f7 (patch) | |
tree | 78ffd18a70833fc08aad95bd0579801f99f3916d /target/arm/cpu64.c | |
parent | d7a64d0063d15bf2ee574f18e4f3fe82f57a32ca (diff) | |
download | qemu-9e6f8d8aab3afe6d704054e3fd850bcba5aa20f7.zip qemu-9e6f8d8aab3afe6d704054e3fd850bcba5aa20f7.tar.gz qemu-9e6f8d8aab3afe6d704054e3fd850bcba5aa20f7.tar.bz2 |
target/arm/cpu: adjust virtual time for all KVM arm cpus
Virtual time adjustment was implemented for virt-5.0 machine type,
but the cpu property was enabled only for host-passthrough and max
cpu model. Let's add it for any KVM arm cpu which has the generic
timer feature enabled.
Signed-off-by: Ying Fang <fangying1@huawei.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-id: 20200608121243.2076-1-fangying1@huawei.com
[PMM: minor commit message tweak, removed inaccurate
suggested-by tag]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu64.c')
-rw-r--r-- | target/arm/cpu64.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index cbc5c38..778cecc 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -592,7 +592,6 @@ static void aarch64_max_initfn(Object *obj) if (kvm_enabled()) { kvm_arm_set_cpu_features_from_host(cpu); - kvm_arm_add_vcpu_properties(obj); } else { uint64_t t; uint32_t u; |