From: Joerg Roedel Date: Fri, 25 Mar 2011 08:44:48 +0000 (+0100) Subject: KVM: X86: Make tsc_delta calculation a function of guest tsc X-Git-Tag: v3.0-rc1~350^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f6055cbaf68cbd9ff2692a2cfa691b43629ccd4;p=pandora-kernel.git KVM: X86: Make tsc_delta calculation a function of guest tsc The calculation of the tsc_delta value to ensure a forward-going tsc for the guest is a function of the host-tsc. This works as long as the guests tsc_khz is equal to the hosts tsc_khz. With tsc-scaling hardware support this is not longer true and the tsc_delta needs to be calculated using guest_tsc values. Signed-off-by: Joerg Roedel Signed-off-by: Avi Kivity --- Reading git-diff-tree failed