Searched refs:user_tsc_khz (Results 1 – 1 of 1) sorted by relevance
2432 static int set_tsc_khz(struct kvm_vcpu *vcpu, u32 user_tsc_khz, bool scale) in set_tsc_khz() argument2444 if (user_tsc_khz > tsc_khz) { in set_tsc_khz()2456 user_tsc_khz, tsc_khz); in set_tsc_khz()2460 user_tsc_khz); in set_tsc_khz()2468 static int kvm_set_tsc_khz(struct kvm_vcpu *vcpu, u32 user_tsc_khz) in kvm_set_tsc_khz() argument2474 if (user_tsc_khz == 0) { in kvm_set_tsc_khz()2481 kvm_get_time_scale(user_tsc_khz * 1000LL, NSEC_PER_SEC, in kvm_set_tsc_khz()2484 vcpu->arch.virtual_tsc_khz = user_tsc_khz; in kvm_set_tsc_khz()2494 if (user_tsc_khz < thresh_lo || user_tsc_khz > thresh_hi) { in kvm_set_tsc_khz()2496 user_tsc_khz, thresh_lo, thresh_hi); in kvm_set_tsc_khz()[all …]