Skip to content

Commit b11f000

Browse files
vunnysoastro
authored andcommitted
cloud-hypervisor: Remove hardcoded value of console
We have kernelConsole value already defined but its not being used as argument. So removing hardcoded value and using kernelConsole value, which will fix issue console service crash issue on aarch64. Signed-off-by: Vunny Sodhi <[email protected]>
1 parent 02a1fe9 commit b11f000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runners/cloud-hypervisor.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ in {
133133
"--serial" "tty"
134134
"--kernel" kernelPath
135135
"--initramfs" initrdPath
136-
"--cmdline" "console=ttyS0 reboot=t panic=-1 ${toString microvmConfig.kernelParams}"
136+
"--cmdline" "${kernelConsole} reboot=t panic=-1 ${toString microvmConfig.kernelParams}"
137137
"--seccomp" "true"
138138
"--memory" memOps
139139
"--platform" "oem_strings=[io.systemd.credential:vmm.notify_socket=vsock-stream:2:8888]"

0 commit comments

Comments
 (0)