]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: VMX: Move architectural "vmcs" and "vmcs_hdr" structures to public vmx.h
authorSean Christopherson <seanjc@google.com>
Sat, 14 Feb 2026 01:26:48 +0000 (17:26 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 4 Mar 2026 16:52:26 +0000 (08:52 -0800)
commit3c75e6a5da3c0dfcd34e5f9df5390804179f2aeb
treeddf3139afe32925940442ffb3e1b80937a238ad8
parent4059172b2a78a71d15d8fcd8d3fd8ea1ba65d25b
KVM: VMX: Move architectural "vmcs" and "vmcs_hdr" structures to public vmx.h

Move "struct vmcs" and "struct vmcs_hdr" to asm/vmx.h in anticipation of
moving VMXON/VMXOFF to the core kernel (VMXON requires a "root" VMCS with
the appropriate revision ID in its header).

No functional change intended.

Tested-by: Chao Gao <chao.gao@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Sagi Shahar <sagis@google.com>
Link: https://patch.msgid.link/20260214012702.2368778-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx/vmcs.h