Skip to content

Commit fba02bb

Browse files
tylerfanellislp
authored andcommitted
include: Update krun_start_enter comment for nitro
The behavior of krun_start_enter differs a bit in libkrun-nitro, instead returning the enclave CID rather than KRUN_SUCCESS. Signed-off-by: Tyler Fanelli <[email protected]>
1 parent 35e5ad7 commit fba02bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/libkrun.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,9 @@ int32_t krun_nitro_set_start_flags(uint32_t ctx_id, uint64_t start_flags);
771771
* code once the microVM shuts down. If an error occurred before running the workload the process
772772
* will exit() with an error exit code.
773773
*
774+
* In the nitro flavor, this function always returns. Upon success, this function will return the
775+
* CID of the nitro enclave that was started.
776+
*
774777
* Error exit codes:
775778
* 125 - "init" cannot set up the environment inside the microVM.
776779
* 126 - "init" can find the executable to be run inside the microVM but cannot execute it.

0 commit comments

Comments
 (0)