KVM: x86: nSVM: implement nested TSC scaling
This was tested by booting a nested guest with TSC=1Ghz, observing the clocks, and doing about 100 cycles of migration. Note that qemu patch is needed to support migration because of a new MSR that needs to be placed in the migration state. The patch will be sent to the qemu mailing list soon. Signed-off-by:Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20210914154825.104886-14-mlevitsk@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- arch/x86/kvm/svm/nested.c 27 additions, 2 deletionsarch/x86/kvm/svm/nested.c
- arch/x86/kvm/svm/svm.c 28 additions, 3 deletionsarch/x86/kvm/svm/svm.c
- arch/x86/kvm/svm/svm.h 6 additions, 1 deletionarch/x86/kvm/svm/svm.h
- arch/x86/kvm/vmx/vmx.c 1 addition, 0 deletionsarch/x86/kvm/vmx/vmx.c
- arch/x86/kvm/x86.c 1 addition, 0 deletionsarch/x86/kvm/x86.c
Please register or sign in to comment