Skip to content

Commit

Permalink
qemu: explicitly set kernel log level
Browse files Browse the repository at this point in the history
Debian kernels tend to be build with a default console loglevel of 7,
but other distributions such as arch may not. To get consistent
behaviour for show-boot mode

Signed-off-by: Sjoerd Simons <[email protected]>
  • Loading branch information
sjoerdsimons committed Sep 23, 2023
1 parent 998f373 commit 389d1cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ func (b qemuBackend) StartQemu(kvm bool) (bool, error) {
qemuargs = append(qemuargs,
"-chardev", "stdio,id=for-ttyS0,signal=off",
"-serial", "chardev:for-ttyS0")
kernelargs = append(kernelargs, "loglevel=7")
} else {
qemuargs = append(qemuargs,
// Create the bus for virtio consoles
Expand Down

0 comments on commit 389d1cc

Please sign in to comment.