From 624f7bfe0b19a81b9f2b82a665a31817307d42bb Mon Sep 17 00:00:00 2001 From: Hyounggyu Choi Date: Wed, 5 Mar 2025 13:48:26 +0100 Subject: [PATCH] runtime: Remove console=ttysclp0 for s390x After the introduction of the following kernel parameters (see #6163): ``` CONFIG_SCLP_VT220_TTY=y CONFIG_SCLP_VT220_CONSOLE=y ``` the system log for Kata components (e.g., the agent) no longer appeared on the SCLP console (i.e., /dev/ttysclp0). Let's switch to the default fallback console (likely /dev/console) for logging. Signed-off-by: Hyounggyu Choi --- src/runtime/virtcontainers/qemu_s390x.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/runtime/virtcontainers/qemu_s390x.go b/src/runtime/virtcontainers/qemu_s390x.go index 4f2605ddef..a333c3bb93 100644 --- a/src/runtime/virtcontainers/qemu_s390x.go +++ b/src/runtime/virtcontainers/qemu_s390x.go @@ -114,8 +114,6 @@ func (q *qemuS390x) appendConsole(ctx context.Context, devices []govmmQemu.Devic return devices, fmt.Errorf("Failed to append console %v", err) } - q.kernelParams = append(q.kernelParams, Param{"console", "ttysclp0"}) - serial := govmmQemu.SerialDevice{ Driver: virtioSerialCCW, ID: id,