diff options
| author | Brijesh Singh <brijesh.singh@amd.com> | 2020-04-22 13:36:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-22 13:36:01 -0500 |
| commit | f1bdac7e7dc1f569c6624da7901aa2607461e8d6 (patch) | |
| tree | f40e9863d68e268b8b7df25e51b853d5602ad528 /README.md | |
| parent | 9db0d1a6bbf6bb86431c7fe7f45bd1eb3fa5c3c2 (diff) | |
| download | cachepc-amdsev-f1bdac7e7dc1f569c6624da7901aa2607461e8d6.tar.gz cachepc-amdsev-f1bdac7e7dc1f569c6624da7901aa2607461e8d6.zip | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -9,6 +9,13 @@ Follow the below steps to build and run the SEV-SNP guest. The step below are te # sudo rpm -ivh kernel-*.rpm
# 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.
@@ -26,6 +33,10 @@ SVM: SNP: rmp setup completed! 1
# cat /sys/module/kvm_amd/parameters/sev_snp
1
+
+# cat /sys/kernel/mm/transparent_hugepage/enabled
+always madvise [never]
+
````
## Prepare Guest
|
