James Morris wrote: > Yep, it's as simple as possible now, and absolute time something to > investigate along with time synchronization between the host and the > guest (which we effectively avoid at this point). > There doesn't need to be any time synchronization; you just need a way to get at the hypervisor's current clock. You end up doing the hypervisor_clock() + delta yourself anyway, but at least its under your control. > 'delta' is limited to 2^32 nanoseconds on 32-bit, which is not enough to > be useful (I really don't understand why the API is like this). So, > instead, the 64-bit ktime_t delta is derived. It means the max delta between timer interrupts is ~4 seconds, but that's not too bad. The clock infrastructure will sort out resetting the timer to do longer delays. It probably isn't terribly useful to do longer delays than that, because you need to deal with drift between the kernel's clocksource and the timer. J _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization