kernel: Introduce SNP kernel

This introduces the SNP kernel as a confidential computing guest.

Signed-off-by: Joana Pecholt <joana.pecholt@aisec.fraunhofer.de>
This commit is contained in:
Joana Pecholt
2022-08-23 10:40:06 +02:00
parent 0e69405e16
commit a2bbd29422
3 changed files with 21 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ Options:
-t <hypervisor> : Hypervisor_target.
-u <url> : Kernel URL to be used to download the kernel tarball.
-v <version> : Kernel version to use if kernel path not provided.
-x <type> : Confidential guest protection type, such as sev and tdx
-x <type> : Confidential guest protection type, such as sev, snp and tdx
EOF
exit "$exit_code"
}
@@ -525,7 +525,7 @@ main() {
x)
conf_guest="${OPTARG}"
case "$conf_guest" in
sev|tdx) ;;
sev|snp|tdx) ;;
*) die "Confidential guest type '$conf_guest' not supported" ;;
esac
;;