Commit b35dc039 authored by @zhanghailiang's avatar @zhanghailiang Committed by zhuyanting
Browse files

target/arm: Add the kvm_adjvtime vcpu property for Cortex-A72



Add the kvm_adjvtime vcpu property for ARM Cortex-A72 cpu model,
so that virtual time adjust will be enabled for it.

Signed-off-by: default avatarYing Fang <fangying1@huawei.com>
parent 406f47d4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -257,6 +257,9 @@ static void aarch64_a72_initfn(Object *obj)
    cpu->gic_vpribits = 5;
    cpu->gic_vprebits = 5;
    define_arm_cp_regs(cpu, cortex_a72_a57_a53_cp_reginfo);
    if(kvm_enabled()) {
        kvm_arm_add_vcpu_properties(obj);
    }
}

static void aarch64_kunpeng_920_initfn(Object *obj)