diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-16 04:28:51 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-17 19:26:07 +0200 |
commit | 4fe213cc4ca776e7e3466bb9d899601f00f2d64f (patch) | |
tree | 1682cdad48bf8e9e5f12f3f0fd6d1a09884a3ab0 /src | |
parent | netns: disable accept_dad for all interfaces (diff) | |
download | wireguard-monolithic-historical-4fe213cc4ca776e7e3466bb9d899601f00f2d64f.tar.xz wireguard-monolithic-historical-4fe213cc4ca776e7e3466bb9d899601f00f2d64f.zip |
qemu: put hvc directive into configuration
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/qemu/Makefile | 3 | ||||
-rw-r--r-- | src/tests/qemu/kernel.config | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile index 59784ae..130ae6d 100644 --- a/src/tests/qemu/Makefile +++ b/src/tests/qemu/Makefile @@ -86,8 +86,7 @@ qemu: $(KERNEL_BZIMAGE) -device virtserialport,chardev=status \ -no-reboot \ -monitor none \ - -kernel $< \ - -append "console=hvc0" + -kernel $< grep -Fq success $(BUILD_PATH)/result $(BUILD_PATH)/init-cpio-spec.txt: diff --git a/src/tests/qemu/kernel.config b/src/tests/qemu/kernel.config index 6de2fbe..7b0b1e3 100644 --- a/src/tests/qemu/kernel.config +++ b/src/tests/qemu/kernel.config @@ -83,5 +83,7 @@ CONFIG_BOOTPARAM_HUNG_TASK_PANIC=y CONFIG_PANIC_TIMEOUT=-1 CONFIG_STACKTRACE=y CONFIG_EARLY_PRINTK=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=hvc0" CONFIG_WIREGUARD=y CONFIG_WIREGUARD_DEBUG=y |