mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-10 13:56:48 +00:00
Dsiable mitigations for CPU vulnerabilities in Linux
This commit is contained in:
parent
6bde87d33a
commit
090b5a1c1d
@ -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}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user