Skip to content

Commit ff988cc

Browse files
committed
x86/tdx: Export tdx_get_ve_info() for PVM
When PVM runs in a TDX guest, it needs to handle #VE events that occur during the PVM guest running, so export tdx_get_ve_info() for PVM. Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
1 parent 040ea4a commit ff988cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/x86/coco/tdx/tdx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,7 @@ void tdx_get_ve_info(struct ve_info *ve)
629629
ve->instr_len = lower_32_bits(args.r10);
630630
ve->instr_info = upper_32_bits(args.r10);
631631
}
632+
EXPORT_SYMBOL_GPL(tdx_get_ve_info);
632633

633634
/*
634635
* Handle the user initiated #VE.

0 commit comments

Comments
 (0)