]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Enable nested TSC scaling
authorIlias Stamatis <ilstam@amazon.com>
Wed, 26 May 2021 18:44:17 +0000 (19:44 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:29 +0000 (13:09 -0400)
commit9c79b19e8e5ef4fed7b15cae847cea5660defde6
tree710bbc6c81b4701e5958e4daa83b11d6c2c8c3c3
parentd64985fc22b2dea1416112dd473b583f010672eb
KVM: nVMX: Enable nested TSC scaling

Calculate the TSC offset and multiplier on nested transitions and expose
the TSC scaling feature to L1.

Signed-off-by: Ilias Stamatis <ilstam@amazon.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210526184418.28881-11-ilstam@amazon.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c