Make QEMU killable with CTRL+C
When running `make test`, it was not possible to exit early by sending
a SIGINT by pressing CTRL+C. This is because QEMU forwards that signal
into the guest by default.
Add settings which forward stdin/stdout via serial but do not forward
SIGINT. Tests can now be killed mid-way.
Change-Id: I07199ad801e1efdd3ebf81c54fbf8c8d682c0b45
diff --git a/aarch64-unit-tests/run_emu.sh b/aarch64-unit-tests/run_emu.sh
index 3975587..33f678c 100755
--- a/aarch64-unit-tests/run_emu.sh
+++ b/aarch64-unit-tests/run_emu.sh
@@ -63,7 +63,7 @@
-M virt \
-machine virtualization=true -machine virt,gic-version=3 \
-cpu "${CPU}" \
- -nographic \
+ -nographic -nodefaults -serial stdio \
-smp 2 \
-m 512 \
-kernel "${LINUX_KERNEL}" \