From: Joerg Roedel Date: Mon, 18 Apr 2011 09:42:53 +0000 (+0200) Subject: KVM: X86: Update last_guest_tsc in vcpu_put X-Git-Tag: v3.0-rc1~350^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c4c0f4fd5c3e82234c0ab61c7e7ffdb8f3af07b;p=pandora-kernel.git KVM: X86: Update last_guest_tsc in vcpu_put The last_guest_tsc is used in vcpu_load to adjust the tsc_offset since tsc-scaling is merged. So the last_guest_tsc needs to be updated in vcpu_put instead of the the last_host_tsc. This is fixed with this patch. Reported-by: Jan Kiszka Tested-by: Jan Kiszka Signed-off-by: Joerg Roedel Signed-off-by: Avi Kivity --- Reading git-diff-tree failed