KVM: x86: Robust TSC compensation
authorZachary Amsden <zamsden@redhat.com>
Fri, 20 Aug 2010 08:07:26 +0000 (22:07 -1000)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:23 +0000 (10:51 +0200)
commit46543ba45fc4b64ca32655efdc8d9c599b4164e2
treea66d258a99fd7654f1fba049573d0a200ece85e6
parent759379dd68c2885d1fafa433083d4487e710a685
KVM: x86: Robust TSC compensation

Make the match of TSC find TSC writes that are close to each other
instead of perfectly identical; this allows the compensator to also
work in migration / suspend scenarios.

Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c