Open pansilup opened 1 month ago
@pansilup 1.The tdx_enable() is invoked during system bootup, usually by vt_init() . You can check the patchset here: https://github.com/intel/tdx-linux/blob/main/kernel-patch/kernel_patch-breakdown.tar.bz2
@yu-chen-surf Thanks for the information.
Hi there, I'm looking for some information on the workflow of issuing SEAMCALLs and have some basic questions. Can I check if TDX enlightened KVM has opened up new TDX specific ioctls for user space (e.g., QEMU) to initiate/issue SEAMCALLs as part of TDX-Env/TD management? For instance, 1.Who is supposed to call "tdx_enable()" in https://github.com/torvalds/linux/blob/ae90f6a6170d7a7a1aa4fddf664fbd093e3023bc/arch/x86/virt/vmx/tdx/tdx.c#L1215 2.How does a SEAMCALLs (such as TDH_MNG_CREATE) request arrive at https://github.com/torvalds/linux/blob/ae90f6a6170d7a7a1aa4fddf664fbd093e3023bc/arch/x86/virt/vmx/tdx/seamcall.S#L21 Any information or documentation on this would be greatly appreciated.