From 70137962d619d88efba3329011d52e864fe52c92 Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Mon, 29 Jun 2020 20:02:30 -0700 Subject: [PATCH] clh: Remove vsock log port in kernel cmdline [ port from runtime commit 160e3a7c98043a52032b15cc8f6e32a91b032258 ] Cloud hypervisor logs console via stdout. Using console logs help to get not only agent logs but early boot kernel logs. Signed-off-by: Jose Carlos Venegas Munoz Signed-off-by: Peng Tao --- src/runtime/virtcontainers/clh.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/runtime/virtcontainers/clh.go b/src/runtime/virtcontainers/clh.go index 4a493c134..0196b2f9d 100644 --- a/src/runtime/virtcontainers/clh.go +++ b/src/runtime/virtcontainers/clh.go @@ -131,8 +131,7 @@ var clhKernelParams = []Param{ {"panic", "1"}, // upon kernel panic wait 1 second before reboot {"no_timer_check", ""}, // do not check broken timer IRQ resources {"noreplace-smp", ""}, // do not replace SMP instructions - {"agent.log_vport", fmt.Sprintf("%d", vSockLogsPort)}, // tell the agent where to send the logs - {"rootflags", "data=ordered,errors=remount-ro ro"}, // mount the root filesystem as readonly + {"rootflags", "data=ordered,errors=remount-ro ro"}, // mount the root filesystem as readonly {"rootfstype", "ext4"}, }