diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-10-12 11:41:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-10-12 12:40:18 -0700 |
commit | 89cc56416e963a723b568157e53fa4c796ffefa5 (patch) | |
tree | 500fd703a27241c4a022422c24564d11b351851c /virt/kvm | |
parent | ddf2acb72f3df470ce15eb23ee97cd3be23016f8 (diff) |
KVM: SVM: Fix tsc offset adjustment when running nested
commit 77b1ab1732feb5e3dcbaf31d2f7547c5229f5f3a upstream.
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.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions