Re: [PATCH v14 17/22] KVM: selftests: Set entry point for TDX guest code
Binbin Wu <[email protected]>
| Newsgroups | dev.linux.lists.linux-coco,org.kernel.vger.kvm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <[email protected]> |
On 7/23/2026 7:13 AM, Lisa Wang wrote: > From: Sagi Shahar <[email protected]> > > Since the rip register is inaccessible for TDX VMs, we need a different > way to set the guest entry point for TDX VMs. This is done by writing > the guest code address to a predefined location in the guest memory and > loading it into rip as part of the TDX boot code. > > Signed-off-by: Sagi Shahar <[email protected]> > Signed-off-by: Lisa Wang <[email protected]> Reviewed-by: Binbin Wu <[email protected]>