From fb4a0da653522a9b4db853aafaea32979e5e2e1c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 6 Jun 2021 10:38:33 +0200 Subject: 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 --- src/tests/qemu/kernel.config | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3