-
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
91788d2
commit 5ed262b
Showing
4 changed files
with
166 additions
and
14 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
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