-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also, since this is done early, validate SLRT in the process. The policy is looked at twice: at the very start near slaunch entrypoint and in __start_xen(). Both times perform the same checks, but the first time unsatisfied conditions just lead to doing no work as we can't really report errors yet. When the code is invoked from __start_xen(), failed checks lead to abort() with an error message explaining the issue. An alternative is to store error code/message somewhere and print it later, which would need a bit more code distributed in more than one unit. Signed-off-by: Sergii Dmytruk <[email protected]>
- Loading branch information
1 parent
77aa1cf
commit 39a1478
Showing
3 changed files
with
124 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters