diff options
| author | 2022-08-30 15:37:37 +0200 | |
|---|---|---|
| committer | 2022-09-26 12:03:02 -0400 | |
| commit | 37d145ef62ff4f424ed05f8c99dc1c9ec67ff133 (patch) | |
| tree | 75c4b8ccf01612519c5cc375aee15dad3c943cac /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: VMX: Cache MSR_IA32_VMX_MISC in vmcs_config (diff) | |
| download | linux-dev-37d145ef62ff4f424ed05f8c99dc1c9ec67ff133.tar.xz linux-dev-37d145ef62ff4f424ed05f8c99dc1c9ec67ff133.zip | |
KVM: nVMX: Use cached host MSR_IA32_VMX_MISC value for setting up nested MSR
vmcs_config has cached host MSR_IA32_VMX_MISC value, use it for setting
up nested MSR_IA32_VMX_MISC in nested_vmx_setup_ctls_msrs() and avoid the
redundant rdmsr().
No (real) functional change intended.
Reviewed-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220830133737.1539624-34-vkuznets@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
