From 9733c341e739e325d793ddc9d3678a65069caceb Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 17 Nov 2020 10:51:11 -0800 Subject: [PATCH] test-runner: Change qemu output This changes the serial device to include mux=on which enables the output of early kernel logs. Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- tools/test-runner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/test-runner.c b/tools/test-runner.c index d035bd3..2036b3b 100755 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -194,8 +194,8 @@ static char *const qemu_argv[] = { "-no-reboot", "-fsdev", "local,id=fsdev-root,path=/,readonly,security_model=none", "-device", "virtio-9p-pci,fsdev=fsdev-root,mount_tag=/dev/root", - "-chardev", "stdio,id=chardev-serial0,signal=off", - "-device", "pci-serial,chardev=chardev-serial0", + "-chardev", "stdio,id=con,mux=on", + "-serial", "chardev:con", NULL }; -- 2.7.4