Re: [RFC] Paravirt timer for KVM

Dong, Eddie
2007-10-16T08:41:36Z

+ case KVM_HCALL_SET_ALARM: {
+ ktime_t kt;
+ kt = ktime_add_ns(ktime_get_real(), a0);

This one will cause accumulated time shift. a0 is the delta time
when the guest calculate.

+ hrtimer_start(&vcpu->oneshooter, kt, HRTIMER_MODE_ABS);
+ break;
+ }