From a8f5e2becfc200b57f57f225dc92fd9dd9415b33 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Fri, 27 Jul 2018 13:23:36 +0100 Subject: [PATCH] kernel: Remove initcall_debug boot option Remove the `initcall_debug` boot option from the kernel command-line as we don't need it any more and it generates a ton of boot messages that may well be impacting performance. Fixes #526. Signed-off-by: James O. D. Hunt --- virtcontainers/qemu.go | 1 - virtcontainers/qemu_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/virtcontainers/qemu.go b/virtcontainers/qemu.go index 649442760..ad0f6e1e0 100644 --- a/virtcontainers/qemu.go +++ b/virtcontainers/qemu.go @@ -85,7 +85,6 @@ var qemuMinorVersion int // agnostic list of kernel parameters var defaultKernelParameters = []Param{ {"panic", "1"}, - {"initcall_debug", ""}, } type operation int diff --git a/virtcontainers/qemu_test.go b/virtcontainers/qemu_test.go index 2d6d82155..0edfd3514 100644 --- a/virtcontainers/qemu_test.go +++ b/virtcontainers/qemu_test.go @@ -52,7 +52,7 @@ func testQemuKernelParameters(t *testing.T, kernelParams []Param, expected strin } func TestQemuKernelParameters(t *testing.T) { - expectedOut := fmt.Sprintf("panic=1 initcall_debug nr_cpus=%d foo=foo bar=bar", MaxQemuVCPUs()) + expectedOut := fmt.Sprintf("panic=1 nr_cpus=%d foo=foo bar=bar", MaxQemuVCPUs()) params := []Param{ { Key: "foo",