Skip to content

Commit

Permalink
scripts: Update the stable commits to point to latest versions
Browse files Browse the repository at this point in the history
Point to the latest versions of the SVSM support - v3. Additionally,
previous versions of the KVM SEV-SNP hypervisor support automatically
set the restricted injection feature for an SVSM. Switch to requiring
that the bit be set as part of the init-flags passed in by the VMM.

Signed-off-by: Tom Lendacky <[email protected]>
  • Loading branch information
tlendacky committed Sep 20, 2023
1 parent 6265c2d commit 8d518f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/launch-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ while [ -n "$1" ]; do
shift
done

[ -n "$SVSM" ] && SNP_FLAGS=$((SNP_FLAGS | 0x04))
[ -n "$SVSM" ] && SNP_FLAGS=$((SNP_FLAGS | 0x05))

[ -z "$UEFI_BIOS_CODE" ] && UEFI_BIOS_CODE="./OVMF_CODE.fd"
TMP="$(readlink -e $UEFI_BIOS_CODE)"
Expand Down
8 changes: 4 additions & 4 deletions scripts/stable-commits
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

# Hypervisor commit
KERNEL_GIT_URL="https://github.com/AMDESE/linux.git"
KERNEL_HOST_BRANCH="svsm-preview-hv-v2"
KERNEL_GUEST_BRANCH="svsm-preview-guest-v2"
KERNEL_HOST_BRANCH="svsm-preview-hv-v3"
KERNEL_GUEST_BRANCH="svsm-preview-guest-v3"

# qemu commit
QEMU_GIT_URL="https://github.com/AMDESE/qemu.git"
QEMU_BRANCH="svsm-preview-v2"
QEMU_BRANCH="svsm-preview-v3"

# Guest BIOS (OVMF)
OVMF_GIT_URL="https://github.com/AMDESE/ovmf"
OVMF_BRANCH="svsm-preview-v2"
OVMF_BRANCH="svsm-preview-v3"

0 comments on commit 8d518f1

Please sign in to comment.