-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
capi: Hide SEV launch C APIs behind sev feature
The SEV launch C APIs use the launch::sev module, which requires the sev feature enabled. Signed-off-by: Tyler Fanelli <[email protected]>
- Loading branch information
1 parent
21befff
commit 5204987
Showing
5 changed files
with
40 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
cd $(dirname $0) | ||
src=$(pwd) | ||
cd - >/dev/null | ||
cd "$(dirname $0)" || exit 1 | ||
src="$(pwd)" | ||
cd - >/dev/null || exit 1 | ||
|
||
if [ ! -d build]; then | ||
# configure a debug build (unoptimized and with debug info) for development | ||
meson setup build --buildtype=debug | ||
/usr/bin/meson setup build --buildtype=debug | ||
else | ||
# If using containerized build we must reconfigure inside the container. | ||
meson setup --reconfigure build --buildtype=debug | ||
/usr/bin/meson setup --reconfigure build --buildtype=debug | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
#!/usr/bin/env python3 | ||
import json | ||
import subprocess | ||
|
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