Re: [Qemu-devel] [PATCH resend] kvmclock: fix clock_is_reliable on migration from QEMU < 2.9

2018-04-06 Thread Paolo Bonzini
On 06/04/2018 07:34, Michael Chapman wrote: > When migrating from a pre-2.9 QEMU, no clock_is_reliable flag is > transferred. We should assume that the source host has an unreliable > KVM_GET_CLOCK, rather than using whatever was determined locally, to > ensure that any drift from the TSC-based val

[Qemu-devel] [PATCH resend] kvmclock: fix clock_is_reliable on migration from QEMU < 2.9

2018-04-05 Thread Michael Chapman
When migrating from a pre-2.9 QEMU, no clock_is_reliable flag is transferred. We should assume that the source host has an unreliable KVM_GET_CLOCK, rather than using whatever was determined locally, to ensure that any drift from the TSC-based value calculated by the guest is corrected. Signed-off