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

From: Ira Weiny

Date: Wed Oct 29 2025 - 11:20:41 EST


Sagi Shahar wrote:
> From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>


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

[snip]