summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-06-06 10:38:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-06-06 10:38:33 +0200
commitfb4a0da653522a9b4db853aafaea32979e5e2e1c (patch)
treec525752728840b019c21026fc43a9ae54bbc280c /src
parent8f4414d334564bd65b542335237574745ed1e11b (diff)
qemu: increase default dmesg log size
The selftests currently parse the kernel log at the end to track potential memory leaks. With these tests now reading off the end of the buffer, due to recent optimizations, some creation messages were lost, making the tests think that there was a free without an alloc. Fix this by increasing the kernel log size. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/tests/qemu/kernel.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/qemu/kernel.config b/src/tests/qemu/kernel.config
index 35e9a1b..85267f9 100644
--- a/src/tests/qemu/kernel.config
+++ b/src/tests/qemu/kernel.config
@@ -67,6 +67,7 @@ CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15
+CONFIG_LOG_BUF_SHIFT=18
CONFIG_PRINTK_TIME=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_LEGACY_VSYSCALL_NONE=y