Removed from QEMU options
This commit is contained in:
parent
606c2579e5
commit
187df62061
3
boot.sh
3
boot.sh
@ -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 &"
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user