From: Joerg Roedel Date: Wed, 16 Sep 2009 13:24:17 +0000 (+0200) Subject: KVM: SVM: Fix tsc offset adjustment when running nested X-Git-Tag: v2.6.32-rc4~55^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b1ab1732feb5e3dcbaf31d2f7547c5229f5f3a;p=pandora-kernel.git KVM: SVM: Fix tsc offset adjustment when running nested When svm_vcpu_load is called while the vcpu is running in guest mode the tsc adjustment made there is lost on the next emulated #vmexit. This causes the tsc running backwards in the guest. This patch fixes the issue by also adjusting the tsc_offset in the emulated hsave area so that it will not get lost. Cc: stable@kernel.org Signed-off-by: Joerg Roedel Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed