pub fn enter_l2_vcpu(
l2_vm_idx: u64,
invd_translations: InvdTranslations,
guest_state_gpa: u64,
) -> Result<(), TdCallError>
Expand description
Enter L2 VCPU operation.
Inputs:
- l2_vm_idx: L2 virtual machine index (must be 1 or higher).
- invd_translations: Controls how enter_l2_vcpu flushes the TLB context and extended paging structure (EPxE) caches associated with the L2 VM before entering the L2 VCPU.
- guest_state_gpa: The GPA of a 256-bytes aligned L2EnterGuestState structure.
Outputs:
- Return registers status in L2EnterGuestState.