From ec1a1eb349186f89ed2c8257cbca5f8ff21f74c8 Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Mon, 29 Jul 2024 11:06:53 +0200 Subject: [PATCH] virtme: switch back to hypervisor console It looks like it was accidentally modified [1]. The hypervisor console is supposed to be better, except to debug early console stuff. But that's OK, another serial is used for that: ttyS0 or ttyAMA0, depending on the arch. Fixes: 4bf382a ("virtme: pass "debug" to the boot options when running in verbose mode") Link: https://github.com/arighi/virtme-ng/pull/144 [1] Signed-off-by: Matthieu Baerts (NGI0) --- virtme/commands/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtme/commands/run.py b/virtme/commands/run.py index 6a9c82b..75aec05 100644 --- a/virtme/commands/run.py +++ b/virtme/commands/run.py @@ -1063,7 +1063,7 @@ def do_it() -> int: qemuargs.extend(["-chardev", "file,path=/proc/self/fd/2,id=dmesg"]) qemuargs.extend(["-device", arch.virtio_dev_type("serial")]) qemuargs.extend(["-device", "virtconsole,chardev=dmesg"]) - kernelargs.extend(["console=ttyS0"]) + kernelargs.extend(["console=hvc0"]) # Unfortunately we can't use hvc0 to redirect early console # messages to stderr, so just send them to the main console, in