diff options
author | Michael Chapman | 2018-04-06 07:34:06 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-04-09 16:36:39 +0200 |
commit | c2b01cfec1f1426d95c27abacc3ea5b5fbb9a57e (patch) | |
tree | 8b70046af10290f8a0d5a4e9290ad2684795dd16 /hw/char | |
parent | hw/dma/i82374: Avoid double creation of the 82374 controller (diff) | |
download | qemu-c2b01cfec1f1426d95c27abacc3ea5b5fbb9a57e.tar.gz qemu-c2b01cfec1f1426d95c27abacc3ea5b5fbb9a57e.tar.xz qemu-c2b01cfec1f1426d95c27abacc3ea5b5fbb9a57e.zip |
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 'hw/char')
0 files changed, 0 insertions, 0 deletions