diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-06-12 17:03:20 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-06-24 08:24:04 -0400 |
| commit | 781ee15bd9a9fa8c0576838d24b58b3bb5a30e05 (patch) | |
| tree | a62dc7e808e4b5767ccb1672f6d4f8330d7dff44 /scripts/git.orderFile | |
| parent | 77036f577bef07a4b06bb1ce3ed9ea8505a639fb (diff) | |
| download | linux-781ee15bd9a9fa8c0576838d24b58b3bb5a30e05.tar.gz linux-781ee15bd9a9fa8c0576838d24b58b3bb5a30e05.zip | |
KVM: x86: Move LLDT assembly wrappers into VMX
Move kvm_{load,read}_ldt() into vmx.c, as vmx_{load,store}_ldt(), as they
are exclusively used by VMX to save/restore host state, and have no
business being globally visible.
Ideally, KVM-specific helpers wouldn't exist at all, as they are nothing
more than assembly wrappers for SLDT and LLDT, i.e. should be provided by
the kernel, not by KVM. Punt that cleanup to the future, as
arch/x86/include/asm/desc.h _does_ provide helpers, but load_ldt() is only
available for CONFIG_PARAVIRT_XXL=n builds, and both {load,store}_ldt()
unnecessarily constrain the operands to memory.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Message-ID: <20260613000329.732085-22-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
