OSDN Git Service

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)
commitd041b5ea93352b3d226352a7238a89da2dd7becb
tree710bbc6c81b4701e5958e4daa83b11d6c2c8c3c3
parent1ab9287add5e265352d18517551abf6d01d004fd
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