[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: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [patch 1/3] kvmclock: Ensure time in migration never goes backward |
Date: |
Tue, 09 Sep 2014 23:16:45 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 |
Who are you pinging?
Alex
On 09.09.14 17:12, Marcelo Tosatti wrote:
> 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>
>
>
- [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Marcelo Tosatti, 2014/09/05
- [Qemu-devel] [patch 2/3] Introduce cpu_clean_all_dirty, Marcelo Tosatti, 2014/09/05
- Re: [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Andrey Korolyov, 2014/09/05
- Re: [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Marcelo Tosatti, 2014/09/05
- Re: [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Paolo Bonzini, 2014/09/05
- Re: [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Andrey Korolyov, 2014/09/05
- Re: [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Andrey Korolyov, 2014/09/05
- Re: [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Paolo Bonzini, 2014/09/05
- Re: [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Andrey Korolyov, 2014/09/05
- Re: [Qemu-devel] [patch 0/3] kvmclock: Ensure time in migration never goes backward (v3), Andrey Korolyov, 2014/09/09