On 7/15/2025 5:33 PM, Fuad Tabba wrote:
Rename the Kconfig option CONFIG_KVM_PRIVATE_MEM to CONFIG_KVM_GMEM. The original name implied that the feature only supported "private" memory. However, CONFIG_KVM_PRIVATE_MEM enables guest_memfd in general, which is not exclusively for private memory. Subsequent patches in this series will add guest_memfd support for non-CoCo VMs, whose memory is not private. Renaming the Kconfig option to CONFIG_KVM_GMEM more accurately reflects its broader scope as the main Kconfig option for all guest_memfd-backed memory. This provides clearer semantics for the option and avoids confusion as new features are introduced. Reviewed-by: Ira Weiny<ira.weiny@xxxxxxxxx> Reviewed-by: Gavin Shan<gshan@xxxxxxxxxx> Reviewed-by: Shivank Garg<shivankg@xxxxxxx> Reviewed-by: Vlastimil Babka<vbabka@xxxxxxx> Co-developed-by: David Hildenbrand<david@xxxxxxxxxx> Signed-off-by: David Hildenbrand<david@xxxxxxxxxx> Signed-off-by: Fuad Tabba<tabba@xxxxxxxxxx>
Reviewed-by: Xiaoyao Li <xiaoyao.li@xxxxxxxxx>