Re: [PATCH v3 32/40] KVM: x86: Move LLDT assembly wrappers into VMX

From: Yosry Ahmed

Date: Fri May 29 2026 - 21:03:00 EST


On Fri, May 29, 2026 at 03:22:15PM -0700, Sean Christopherson wrote:
> Move kvm_{load,read}_ldt() into vmx.c, as they are exclusively used by VMX
> to save/restore host state, and have no business being globally visible.

But they are generic helpers. I agree with mvoing them out of
kvm_host.h, but maybe into another header? They don't fit in regs.h or
msrs.h, so maybe x86.h? *ducks*