]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/ukboot: Save application exit status to tctx
authorMichalis Pappas <michalis@unikraft.io>
Sat, 29 Mar 2025 08:31:10 +0000 (09:31 +0100)
committerUnikraft Bot <monkey@unikraft.io>
Wed, 30 Apr 2025 10:07:29 +0000 (10:07 +0000)
commitc291279d1e708e78efb5be2ada27197f6402a62b
treef44293b493163cdd9b037661690449ce74994e22
parent8aaae3e79823a9a81967ebe7ac1ddbdabeed04a2
lib/ukboot: Save application exit status to tctx

Update calls to do_main() to save the return value to unikraft's
term context. If UKBOOT_MAINTHREAD is selected, the status code
will be set via the main thread's exit path.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1633
lib/ukboot/boot.c