Skip to content

Commit

Permalink
qemu: Append nosplash to kernel arguments to stop plymouth from starting
Browse files Browse the repository at this point in the history
The plymouth service starts when running a qemu/kvm guest, plymouth clears
the serial console during boot which in turn causes the host's shell to be
cleared. Add nosplash to the kernel argument to stop plymouth from
starting during the machine's boot.

This parameter is already present in the uml backend.

Fixes: #66
Signed-off-by: Christopher Obbard <[email protected]>
  • Loading branch information
obbardc committed Jul 27, 2023
1 parent e2c660f commit 8dbae9d
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 @@ -224,6 +224,7 @@ func (b qemuBackend) StartQemu(kvm bool) (bool, error) {
qemuargs = append(qemuargs, "-machine", qemuMachine.machine)
console := fmt.Sprintf("console=%s", qemuMachine.console)
kernelargs := []string{console, "panic=-1",
"nosplash",
"systemd.unit=fakemachine.service"}

if m.showBoot {
Expand Down

0 comments on commit 8dbae9d

Please sign in to comment.