Skip to content

Commit a2d150f

Browse files
committed
scripts: Update the stable commits and launch script
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 <thomas.lendacky@amd.com>
1 parent 4b2cab1 commit a2d150f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/launch-qemu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ if [ -n "${SEV_GUEST}" ]; then
319319
fi
320320

321321
if [ -n "$SEV_SNP_GUEST" -a -n "$SNP_UPM" ]; then
322-
add_opts "-machine type=q35,confidential-guest-support=sev0,memory-backend=ram1,kvm-type=protected,vmport=off${SVSM:+,svsm=$SVSM}"
323-
add_opts "-object memory-backend-memfd-private,id=ram1,size=$MEM,share=true"
322+
add_opts "-machine type=q35,confidential-guest-support=sev0,memory-backend=ram1,vmport=off${SVSM:+,svsm=$SVSM}"
323+
add_opts "-object memory-backend-memfd,id=ram1,size=$MEM,share=true,prealloc=false"
324324
else
325325
add_opts "-m ${MEM}${MAX_MEM:+,slots=5,maxmem=$MAX_MEM}"
326326
add_opts "-machine type=q35,confidential-guest-support=sev0,vmport=off${SVSM:+,svsm=$SVSM}"

scripts/stable-commits

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
# Hypervisor commit
88
KERNEL_GIT_URL="https://github.com/AMDESE/linux.git"
9-
KERNEL_HOST_BRANCH="svsm-preview-hv-v3"
10-
KERNEL_GUEST_BRANCH="svsm-preview-guest-v3"
9+
KERNEL_HOST_BRANCH="svsm-preview-hv-v4"
10+
KERNEL_GUEST_BRANCH="svsm-preview-guest-v4"
1111

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

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

0 commit comments

Comments
 (0)