aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/qemu/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-13 22:15:30 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-17 19:26:07 +0200
commit97a5ef664a9950acfe5ee83f562407f06300b705 (patch)
treea631c3942e6c44d15c1b72f1c85fb442aa0c51ae /src/tests/qemu/Makefile
parentqemu: open /dev/console if we're started early (diff)
downloadwireguard-monolithic-historical-97a5ef664a9950acfe5ee83f562407f06300b705.tar.xz
wireguard-monolithic-historical-97a5ef664a9950acfe5ee83f562407f06300b705.zip
qemu: phase out bitbanging
Although I was secretly proud of having figured out these unholy hacks, it turns out -no-reboot lets us do things in a platform-independent way. Suggested-by: Jann Horn <jann@thejh.net>
Diffstat (limited to 'src/tests/qemu/Makefile')
-rw-r--r--src/tests/qemu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile
index 58c183a..fc1115f 100644
--- a/src/tests/qemu/Makefile
+++ b/src/tests/qemu/Makefile
@@ -82,7 +82,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 \
+ -no-reboot \
-monitor none \
-kernel $< \
-append "console=hvc0"