]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
KVM: VMX: Hide VMCS control calculators in vmx.c
authorSean Christopherson <seanjc@google.com>
Tue, 10 Aug 2021 17:19:52 +0000 (10:19 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Aug 2021 07:35:15 +0000 (03:35 -0400)
commit2fba4fc155280727b4997c6ee86f24c260dd9155
treef2e1067e0a0a3faea81c0a68b7b8bfdb336ec34c
parentb6247686b7571003eca2305b2096f59e1e1ce976
KVM: VMX: Hide VMCS control calculators in vmx.c

Now that nested VMX pulls KVM's desired VMCS controls from vmcs01 instead
of re-calculating on the fly, bury the helpers that do the calcluations
in vmx.c.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210810171952.2758100-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h