[PATCH] v4: allow userspace to adjust kvmclock offset

2009-10-14 Thread Glauber Costa
When we migrate a kvm guest that uses pvclock between two hosts, we may suffer a large skew. This is because there can be significant differences between the monotonic clock of the hosts involved. When a new host with a much larger monotonic time starts running the guest, the view of time will be

Re: [PATCH] v4: allow userspace to adjust kvmclock offset

2009-10-14 Thread Marcelo Tosatti
On Wed, Oct 14, 2009 at 10:47:46AM -0400, Glauber Costa wrote: When we migrate a kvm guest that uses pvclock between two hosts, we may suffer a large skew. This is because there can be significant differences between the monotonic clock of the hosts involved. When a new host with a much larger

Re: [PATCH] v4: allow userspace to adjust kvmclock offset

2009-10-14 Thread Glauber Costa
On Wed, Oct 14, 2009 at 03:53:27PM -0300, Marcelo Tosatti wrote: On Wed, Oct 14, 2009 at 10:47:46AM -0400, Glauber Costa wrote: When we migrate a kvm guest that uses pvclock between two hosts, we may suffer a large skew. This is because there can be significant differences between the