Dsiable mitigations for CPU vulnerabilities in Linux

This commit is contained in:
Yuke Peng 2024-08-25 17:04:25 +08:00 committed by Tate, Hongliang Tian
parent 6bde87d33a
commit 090b5a1c1d

View File

@ -67,7 +67,7 @@ run_benchmark() {
-initrd ${BENCHMARK_DIR}/../build/initramfs.cpio.gz \
-drive if=none,format=raw,id=x0,file=${BENCHMARK_DIR}/../build/ext2.img \
-device virtio-blk-pci,bus=pcie.0,addr=0x6,drive=x0,serial=vext2,disable-legacy=on,disable-modern=off,queue-size=64,num-queues=1,config-wce=off,request-merging=off,write-cache=off,backend_defaults=off,discard=off,event_idx=off,indirect_desc=off,ioeventfd=off,queue_reset=off \
-append 'console=ttyS0 rdinit=/benchmark/benchmark_entrypoint.sh' \
-append 'console=ttyS0 rdinit=/benchmark/benchmark_entrypoint.sh mitigations=off' \
-nographic \
2>&1 | tee ${linux_output}"