2016-06-14 5:19 GMT+08:00 Yunhong Jiang <yunhong.jiang@xxxxxxxxxxxxxxx>: [...] > +static int vmx_set_hv_timer(struct kvm_vcpu *vcpu, u64 guest_deadline_tsc) > +{ > + u64 tscl = rdtsc(), delta_tsc; > + > + delta_tsc = guest_deadline_tsc - kvm_read_l1_tsc(vcpu, tscl); > + > + /* Convert to host delta tsc if tsc scaling is enabled */ If this need to convert to host delta tsc if guest and host tsc rate are different when w/o tsc scaling? Regards, Wanpeng Li -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html