diff options
| author | 2026-09-07 06:39:00 +0000 | |
|---|---|---|
| committer | 2026-09-28 16:40:35 -0700 | |
| commit | d75bb23606ff5d142d115f12adac339e3266eb5c (patch) | |
| tree | fef798654670e48b5409d71750afcdea82711d80 /scripts/Makefile.thinlto | |
| parent | KVM: VMX: Pass @vcpu, not @vmx to init_vmcs() (diff) | |
KVM: x86: Move PML page to common vcpu arch structure
Move the PML page pointer from VMX-specific vcpu_vmx structure to the
common kvm_vcpu_arch structure to enable sharing between VMX and SVM
implementations. Only the page pointer is moved to x86 common code while
keeping allocation logic vendor-specific, since AMD requires
snp_safe_alloc_page() for PML buffer allocation.
Update all VMX references accordingly.
No functional change, restructuring to prepare for SVM PML support.
Suggested-by: Kai Huang <kai.huang@intel.com>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Nikunj A Dadhania <nikunj@amd.com>
Link: https://patch.msgid.link/20260907063906.1964557-3-nikunj@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
