commit | 16a9602158861687c78b6de6dc6a79e6e8a9136f | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Wed May 14 12:43:24 2014 -0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed May 14 17:59:21 2014 +0200 |
tree | aa613146dd2e9432189fe6d39debf4747a5db40e | |
parent | 5367742ad5321dd38058420adb4750ed9c7ead1e [diff] |
KVM: x86: disable master clock if TSC is reset during suspend Updating system_time from the kernel clock once master clock has been enabled can result in time backwards event, in case kernel clock frequency is lower than TSC frequency. Disable master clock in case it is necessary to update it from the resume path. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>