diff options
| author | Brijesh Singh <brijesh.singh@amd.com> | 2020-07-09 08:51:33 -0500 |
|---|---|---|
| committer | Brijesh Singh <brijesh.singh@amd.com> | 2020-07-09 08:51:33 -0500 |
| commit | 1aa7ba69604fdab2c275c90e390cd50f086d6ac0 (patch) | |
| tree | 498d448e25b179e0ae3917f56c2f62c2091e86f9 | |
| parent | b5e375f5a55b8594d250bcbc9d69bc2cdf134cde (diff) | |
| download | cachepc-amdsev-1aa7ba69604fdab2c275c90e390cd50f086d6ac0.tar.gz cachepc-amdsev-1aa7ba69604fdab2c275c90e390cd50f086d6ac0.zip | |
update the kernel commit
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | stable-commits | 2 |
2 files changed, 1 insertions, 11 deletions
@@ -10,19 +10,12 @@ Follow the below steps to build and run the SEV-SNP guest. The step below are te # sudo cp kvm.conf /etc/modprobe.d/
````
-Edit /etc/defauts/grub to disable the THP, e.g something like this
-````
-GRUB_CMDLINE_LINUX= .... transparent_hugepage=never
-# grub2-mkconfig
-````
-
Reboot the host and choose SNP kernel from the grub menu.
Run the following command to verify that SNP is enabled in the host.
````
# dmesg | grep -i snp
-ccp 0000:42:00.1: snp enabled
SEV-SNP API:0.31 build:43
SEV-SNP supported: 99 ASIDs
@@ -33,9 +26,6 @@ SEV-SNP supported: 99 ASIDs # cat /sys/module/kvm_amd/parameters/sev_snp
1
-# cat /sys/kernel/mm/transparent_hugepage/enabled
-always madvise [never]
-
````
## Prepare Guest
diff --git a/stable-commits b/stable-commits index f238180..9fbf1af 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-v2+snp" +KERNEL_BRANCH="sev-es-5.7-v4+snp" # qemu commit QEMU_GIT_URL="https://github.com/AMDESE/qemu.git" |
