diff options
| author | 2026-10-20 06:38:31 -0400 | |
|---|---|---|
| committer | 2026-10-21 03:28:21 -0400 | |
| commit | 164405e8e9a0378c7e1aff2254625a6553a291f1 (patch) | |
| tree | c0ed0a858bd738bc0753183ce659ff218cd76498 /scripts/Makefile.thinlto | |
| parent | KVM: x86: leave the legacy private attribute in for TDX and SEV (diff) | |
KVM: always make in-place conversion a compile-time constant when possible
Remove the unnecessary static call indirection and make
gmem_in_place_conversion a constant if CONFIG_KVM_PRIVATE_MEMATTR_VM
is false.
Require that CONFIG_KVM_PRIVATE_MEMATTR_VM be enabled together with
CONFIG_KVM_GUEST_MEMFD and with a definition of kvm_arch_has_private_mem.
This way, the three possible cases can be expressed without nested #ifs.
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
