aboutsummaryrefslogtreecommitdiffstats
path: root/launch-qemu.sh
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2020-09-11 11:00:03 -0500
committerBrijesh Singh <brijesh.singh@amd.com>2020-09-11 11:00:03 -0500
commitaf26490a03c984ba64a770da7ecc219c261dc03f (patch)
treef7962207ecfc7019aa2ebd7e6541d9f6416b6921 /launch-qemu.sh
parent1aa7ba69604fdab2c275c90e390cd50f086d6ac0 (diff)
downloadcachepc-amdsev-af26490a03c984ba64a770da7ecc219c261dc03f.tar.gz
cachepc-amdsev-af26490a03c984ba64a770da7ecc219c261dc03f.zip
Update stable commit to use newer version and drop thp check
Diffstat (limited to 'launch-qemu.sh')
-rwxr-xr-xlaunch-qemu.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/launch-qemu.sh b/launch-qemu.sh
index bb66d09..c5fff7b 100755
--- a/launch-qemu.sh
+++ b/launch-qemu.sh
@@ -228,14 +228,6 @@ if [ ${SEV} = "1" ]; then
POLICY=$((0x30000))
SEV_POLICY=$(printf ",policy=%#x" $POLICY)
[ "${ALLOW_DEBUG}" = "1" ] && POLICY=$((POLICY | 0x80000))
-
- # check if THP is disable
- cat /sys/kernel/mm/transparent_hugepage/enabled | grep -w "\[never\]"
- if [ $? -ne 0 ]; then
- echo "ERROR: THP is enabled, run the following command to disable it and retry"
- echo "echo never > /sys/kernel/mm/transparent_hugepage/enabled"
- exit 1
- fi
fi
get_cbitpos