commit | e26101b116a6235bcd80b3a4c38c9fe91286cd79 | [log] [tgz] |
---|---|---|
author | Zachary Amsden <zamsden@gmail.com> | Fri Feb 03 15:43:57 2012 -0200 |
committer | Avi Kivity <avi@redhat.com> | Thu Mar 08 14:10:09 2012 +0200 |
tree | 82c133ffb2c8877f675af519a2ffd4c55820c7e9 | |
parent | 0dd6a6edb0124e6c71931ff575b18e15ed6e8603 [diff] |
KVM: Track TSC synchronization in generations This allows us to track the original nanosecond and counter values at each phase of TSC writing by the guest. This gets us perfect offset matching for stable TSC systems, and perfect software computed TSC matching for machines with unstable TSC. Signed-off-by: Zachary Amsden <zamsden@gmail.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>