aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2009-09-16 13:24:17 +0000
committerAvi Kivity <[email protected]>2009-10-04 11:57:22 +0000
commit77b1ab1732feb5e3dcbaf31d2f7547c5229f5f3a (patch)
treebf9378c8d5b36b561b4a3d98f9e96046cb80112a /lib/fault-inject.c
parentMerge branch 'for-linus' of git://www.linux-m32r.org/git/takata/linux-2.6_dev (diff)
downloadkernel-77b1ab1732feb5e3dcbaf31d2f7547c5229f5f3a.tar.gz
kernel-77b1ab1732feb5e3dcbaf31d2f7547c5229f5f3a.zip
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: [email protected] Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions