Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
clh: Remove vsock log port in kernel cmdline
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jcvenegas committed May 13, 2020
1 parent e1ee00d commit 160e3a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions virtcontainers/clh.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,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"},
}

Expand Down

0 comments on commit 160e3a7

Please sign in to comment.