On 10/29/2025 5:20 AM, Sagi Shahar wrote:
From: Ackerley Tng <[email protected]> TDX protected memory needs to be measured and encrypted before it can be used by the guest. Traverse the VM's memory regions and initialize all the protected ranges by calling KVM_TDX_INIT_MEM_REGION. Once all the memory is initialized, the VM can be finalized by calling KVM_TDX_FINALIZE_VM. Signed-off-by: Ackerley Tng <[email protected]> Co-developed-by: Erdem Aktas <[email protected]> Signed-off-by: Erdem Aktas <[email protected]> Co-developed-by: Sagi Shahar <[email protected]> Signed-off-by: Sagi Shahar <[email protected]>
Reviewed-by: Binbin Wu <[email protected]>

