Re: [PATCH v12 05/23] KVM: selftests: Update kvm_init_vm_address_properties() for TDX

Ira Weiny
2025-10-29T15:20:41Z

Sagi Shahar wrote:
> From: Isaku Yamahata <isaku.yamahata@intel.com>
>
> Let kvm_init_vm_address_properties() initialize vm->arch.{s_bit, tag_mask}
> similar to SEV.
>
> TDX sets the shared bit based on the guest physical address width and
> currently supports 48 and 52 widths.
>
> Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>

Reviewed-by: Ira Weiny <ira.weiny@intel.com>

[snip]