qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch 1/3] kvmclock: Ensure time in migration never go


From: Marcelo Tosatti
Subject: Re: [Qemu-devel] [patch 1/3] kvmclock: Ensure time in migration never goes backward
Date: Tue, 9 Sep 2014 12:12:30 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

Ping?

On Fri, Sep 05, 2014 at 10:52:45AM -0300, Marcelo Tosatti wrote:
> From: Alexander Graf <address@hidden>
> 
> When we migrate we ask the kernel about its current belief on what the guest
> time would be. However, I've seen cases where the kvmclock guest structure
> indicates a time more recent than the kvm returned time.
> 
> To make sure we never go backwards, calculate what the guest would have seen 
> as time at the point of migration and use that value instead of the kernel 
> returned one when it's more recent.  
> This bases the view of the kvmclock after migration on the 
> same foundation in host as well as guest.
> 
> Signed-off-by: Alexander Graf <address@hidden>
> Cc: address@hidden
> Reviewed-by: Marcelo Tosatti <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]