Removed from QEMU options

This commit is contained in:
Dylan Bautista 2025-02-19 13:16:29 +01:00
parent 606c2579e5
commit 187df62061
2 changed files with 1 additions and 22 deletions

View File

@ -73,8 +73,7 @@ run_qemu () {
-device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=123 \
-serial mon:stdio \
-append "$(cat $system/kernel-params) init=$system/init console=ttyS0 loglevel=7 $QEMU_KERNEL_PARAMS" \
$QEMU_OPTS \
"$@"'
$QEMU_OPTS'
if [[ "$QEMU_KERNEL_PARAMS" =~ bench2 ]]; then
eval "$CMD &"

View File

@ -1,20 +0,0 @@
BEGIN {
bench_success_flag = 0
}
/^BENCHMARK-SUCESS-STATE/ { bench_success_flag = 1; system("pkill -f -SIGTERM qemu-system-riscv64")}
/^BENCHMARK-ERROR-STATE/ { bench_success_flag = 0; system("pkill -f -SIGTERM qemu-system-riscv64")}
{print $0}
END {
printf "Benchmark execution has finished ";
if (bench_success_flag) {
printf "successfully.\n";
exit 0;
} else {
printf "with errors.\n";
exit 1;
}
}