aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/qemu/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-02 02:11:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-02 02:45:53 +0200
commitdbd1fe39f92e9b8f2ba2c6cf34c6850c4d2ea4b2 (patch)
tree4293fbdbbbf3b963c4e966756feb95af5beb5104 /src/tests/qemu/Makefile
parentmessages: reduce maximum staged packets per peer (diff)
downloadwireguard-monolithic-historical-dbd1fe39f92e9b8f2ba2c6cf34c6850c4d2ea4b2.tar.xz
wireguard-monolithic-historical-dbd1fe39f92e9b8f2ba2c6cf34c6850c4d2ea4b2.zip
qemu: add watchdog for not hanging on oops
Diffstat (limited to 'src/tests/qemu/Makefile')
-rw-r--r--src/tests/qemu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile
index 225bb1c..24952bd 100644
--- a/src/tests/qemu/Makefile
+++ b/src/tests/qemu/Makefile
@@ -81,6 +81,7 @@ qemu: $(KERNEL_BZIMAGE)
-device virtconsole,chardev=stdio \
-chardev file,id=status,path=$(BUILD_PATH)/result \
-device virtserialport,chardev=status \
+ -watchdog ib700 -watchdog-action poweroff \
-monitor none \
-kernel $< \
-append "console=hvc0"