From 117ce4ac410a32b609359228f64db7dd41b746ad Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Mon, 29 Jun 2020 20:03:16 -0700 Subject: [PATCH] clh: remove slow boot debug flags from kernel cmdline [ port from runtime commit 6c517548429da06d33172c8e135dc9b9a297175d ] The systemd debug and kernel init call debug flags make slow the boot. The flags are not really related with the hypervisor and can be added if needed using extra kernel command line options. Signed-off-by: Jose Carlos Venegas Munoz Signed-off-by: Peng Tao --- src/runtime/virtcontainers/clh.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/runtime/virtcontainers/clh.go b/src/runtime/virtcontainers/clh.go index 0196b2f9d3..58324a9568 100644 --- a/src/runtime/virtcontainers/clh.go +++ b/src/runtime/virtcontainers/clh.go @@ -138,9 +138,7 @@ var clhKernelParams = []Param{ var clhDebugKernelParams = []Param{ {"console", "ttyS0,115200n8"}, // enable serial console - {"systemd.log_level", "debug"}, // enable systemd debug output {"systemd.log_target", "console"}, // send loggng to the console - {"initcall_debug", "1"}, // print init call timing information to the console } //###########################################################