From: Joerg Roedel Date: Mon, 14 Dec 2009 11:22:20 +0000 (+0100) Subject: KVM: SVM: Adjust tsc_offset only if tsc_unstable X-Git-Tag: v2.6.34-rc1~193^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=953899b659adce62cbe83d6a7527550ab8797c48;p=pandora-kernel.git KVM: SVM: Adjust tsc_offset only if tsc_unstable The tsc_offset adjustment in svm_vcpu_load is executed unconditionally even if Linux considers the host tsc as stable. This causes a Linux guest detecting an unstable tsc in any case. This patch removes the tsc_offset adjustment if the host tsc is stable. The guest will now get the benefit of a stable tsc too. Signed-off-by: Joerg Roedel Signed-off-by: Avi Kivity --- Reading git-diff-tree failed