Skip to content

Commit

Permalink
scripts: Update the stable commits and launch script
Browse files Browse the repository at this point in the history
Point to the latest versions of the SVSM support - v4. Additionally,
adjust the Qemu launch script to work with the latest SNP hypervisor
support.

Signed-off-by: Tom Lendacky <[email protected]>
  • Loading branch information
tlendacky committed Feb 1, 2024
1 parent 4b2cab1 commit a2d150f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions scripts/launch-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ if [ -n "${SEV_GUEST}" ]; then
fi

if [ -n "$SEV_SNP_GUEST" -a -n "$SNP_UPM" ]; then
add_opts "-machine type=q35,confidential-guest-support=sev0,memory-backend=ram1,kvm-type=protected,vmport=off${SVSM:+,svsm=$SVSM}"
add_opts "-object memory-backend-memfd-private,id=ram1,size=$MEM,share=true"
add_opts "-machine type=q35,confidential-guest-support=sev0,memory-backend=ram1,vmport=off${SVSM:+,svsm=$SVSM}"
add_opts "-object memory-backend-memfd,id=ram1,size=$MEM,share=true,prealloc=false"
else
add_opts "-m ${MEM}${MAX_MEM:+,slots=5,maxmem=$MAX_MEM}"
add_opts "-machine type=q35,confidential-guest-support=sev0,vmport=off${SVSM:+,svsm=$SVSM}"
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-v3"
KERNEL_GUEST_BRANCH="svsm-preview-guest-v3"
KERNEL_HOST_BRANCH="svsm-preview-hv-v4"
KERNEL_GUEST_BRANCH="svsm-preview-guest-v4"

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

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

0 comments on commit a2d150f

Please sign in to comment.