Skip to content

Commit fb4a0da

Browse files
committed
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>
1 parent 8f4414d commit fb4a0da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests/qemu/kernel.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ CONFIG_PROC_SYSCTL=y
6767
CONFIG_SYSFS=y
6868
CONFIG_TMPFS=y
6969
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15
70+
CONFIG_LOG_BUF_SHIFT=18
7071
CONFIG_PRINTK_TIME=y
7172
CONFIG_BLK_DEV_INITRD=y
7273
CONFIG_LEGACY_VSYSCALL_NONE=y

0 commit comments

Comments
 (0)