From 2f7dfe5d63bc3af74e997bb366cfc1d4f2a4781c Mon Sep 17 00:00:00 2001 From: Brijesh Singh Date: Wed, 24 Mar 2021 14:23:01 -0500 Subject: update commit to point the RFC branches --- README.md | 10 ++++++---- kvm.conf | 4 ++-- stable-commits | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 12d42bf..0d921ff 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Follow the below steps to build and run the SEV-SNP guest. The step below are tested on Fedora 31 host and guest. +Follow the below steps to build and run the SEV-SNP guest. The step below are tested on Ubuntu 20.04 host and guest. ## Build and Install @@ -6,7 +6,7 @@ Follow the below steps to build and run the SEV-SNP guest. The step below are te # git clone https://github.com/AMDESE/AMDSEV.git # git checkout sev-snp-devel # ./build.sh -# sudo rpm -ivh kernel-*.rpm +# sudo dpkg -ivh linux-*.rpm # sudo cp kvm.conf /etc/modprobe.d/ ```` @@ -16,7 +16,9 @@ Run the following command to verify that SNP is enabled in the host. ```` # dmesg | grep -i snp -SEV-SNP API:0.31 build:43 +SEV-SNP API:1.22 build:22 +SEV supported: 410 ASIDs +SEV-ES supported: 99 ASIDs SEV-SNP supported: 99 ASIDs # cat /sys/module/kvm_amd/parameters/sev @@ -30,7 +32,7 @@ SEV-SNP supported: 99 ASIDs ## Prepare Guest -Boot up the FC31 guest and install the kernel package built in the previous step. +Boot up the Ubuntu 20.04 guest and install the kernel package built in the previous step. ## Launch SNP Guest diff --git a/kvm.conf b/kvm.conf index 339f0dc..641c122 100644 --- a/kvm.conf +++ b/kvm.conf @@ -2,5 +2,5 @@ ### Set these options to enable the SEV support ### -# Enable SEV-SNP Support -options kvm_amd sev-snp=1 sev=1 +# Enable SEV Support +options kvm_amd sev-snp=1 sev=1 sev-es=1 diff --git a/stable-commits b/stable-commits index 165863d..9fc8f5a 100644 --- a/stable-commits +++ b/stable-commits @@ -4,7 +4,7 @@ # hypervisor commit KERNEL_GIT_URL="https://github.com/AMDESE/linux.git" -KERNEL_BRANCH="sev-es-5.7-v4+snp" +KERNEL_BRANCH="sev-snp-part-2-rfc1" # qemu commit QEMU_GIT_URL="https://github.com/AMDESE/qemu.git" @@ -12,4 +12,4 @@ QEMU_BRANCH="sev-es-v7+snp" # guest bios OVMF_GIT_URL="https://github.com/AMDESE/ovmf.git" -OVMF_BRANCH="sev-es-v21+snp" +OVMF_BRANCH="sev-snp-rfc-1" -- cgit v1.2.3-71-gd317