diff options
author | Michael Chapman <mike@very.puzzling.org> | 2018-04-06 15:34:06 +1000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-04-09 16:36:39 +0200 |
commit | c2b01cfec1f1426d95c27abacc3ea5b5fbb9a57e (patch) | |
tree | 8b70046af10290f8a0d5a4e9290ad2684795dd16 /hmp.h | |
parent | 4968a2c6edb7b46b127c19a8426575d23b55ab1f (diff) | |
download | qemu-c2b01cfec1f1426d95c27abacc3ea5b5fbb9a57e.zip qemu-c2b01cfec1f1426d95c27abacc3ea5b5fbb9a57e.tar.gz qemu-c2b01cfec1f1426d95c27abacc3ea5b5fbb9a57e.tar.bz2 |
kvmclock: fix clock_is_reliable on migration from QEMU < 2.9
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-by: Michael Chapman <mike@very.puzzling.org>
Message-Id: <20180406053406.774-1-mike@very.puzzling.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hmp.h')
0 files changed, 0 insertions, 0 deletions