aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2023-05-28 17:39:16 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-05-30 11:18:13 -0700
commit15eb57049b19df89701cf6ad0ced2a0c7cecc475 (patch)
tree9419e6f3b62fa76d240914eb1077da34bcea5246 /tools
parentd214fe5f75229e4c761a458b33651d6316d3562a (diff)
test-runner: enable no_hash_pointers=1
Set no_hash_pointers=1 to avoid printk printing "___ptrval___" for %p. This happens with test-runner since the kernel is not running long enough to gather entropy and so refuses to print addresses, and makes debugging harder. As test-runner is only used for testing and debugging, pointer hashing is not needed.
Diffstat (limited to 'tools')
-rw-r--r--tools/test-runner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-runner.c b/tools/test-runner.c
index 8b18f848a1..d74bb1087f 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -247,7 +247,7 @@ static void start_qemu(void)
snprintf(cmdline, sizeof(cmdline),
"console=ttyS0,115200n8 earlyprintk=serial "
- "rootfstype=9p "
+ "no_hash_pointers=1 rootfstype=9p "
"rootflags=trans=virtio,version=9p2000.u "
"acpi=off pci=noacpi noapic quiet ro init=%s "
"TESTHOME=%s TESTDBUS=%u TESTDAEMON=%u "