Skip to content

Another set of Nested SVM fixes and cleanups

Joerg Roedel kvm lkml 1 version Applied

Status from this message: Applied, thanks (added Cc: stable to 3 and 4).

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5KVM: SVM: reorganize svm_interrupt_allowedarch/x86/kvm/svm.c+12 -40 replies
2/5KVM: SVM: don't copy exit_int_info on nested vmrunarch/x86/kvm/svm.c+0 -20 replies
3/5KVM: SVM: Fix tsc offset adjustment when running nestedarch/x86/kvm/svm.c+2 -00 replies
4/5KVM: SVM: Handle tsc in svm_get_msr/svm_set_msr correctlyarch/x86/kvm/svm.c+17 -60 replies
5/5KVM: SVM: Remove remaining occurences of rdtscllarch/x86/kvm/svm.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Another set of Nested SVM fixes and cleanups

Hi,

this series of patches contain another set of cleanups and an important fix to the Nested SVM code. These patches make the TSC handling code for SVM aware of a nested guest. This fixes the TSC running backwards on guest and nested guest. The backwards running TSC resulted in stalled guests when kvm-clock was enabled. Please consider to apply.

Thanks,

Joerg

Shortlog:

Joerg Roedel (5):
KVM: SVM: reorganize svm_interrupt_allowed
KVM: SVM: don't copy exit_int_info on nested vmrun
KVM: SVM: Fix tsc offset adjustment when running nested
KVM: SVM: Handle tsc in svm_get_msr/svm_set_msr correctly
KVM: SVM: Remove remaining occurences of rdtscll

Diffstat:

 arch/x86/kvm/svm.c |   50 ++++++++++++++++++++++++++++++++++----------------
 1 files changed, 34 insertions(+), 16 deletions(-)