From bf31355c62969e1f24c9a805850f9b618de24db7 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sat, 4 Jun 2022 08:25:32 +0200 Subject: [PATCH] run_qemu.sh: run timeout with --foreground so that qemu can receive sigint and quit immediately --- run_qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_qemu.sh b/run_qemu.sh index ef76d5f..d8a0917 100755 --- a/run_qemu.sh +++ b/run_qemu.sh @@ -31,7 +31,7 @@ qemu-img create -f qcow2 -b "$(realpath $cachedir)/debian-$DEFAULT_DIST.qcow" -F # to connect to serial use: # minicom -D 'unix#/tmp/ttyS0' ret=0 -timeout 20m qemu-system-x86_64 \ +timeout --foreground 20m qemu-system-x86_64 \ -cpu host \ -no-user-config \ -M accel=kvm:tcg -m 4G -nographic \