From b11f00056e11a802809935b0675176a2429593d9 Mon Sep 17 00:00:00 2001 From: Vunny Sodhi Date: Fri, 14 Jun 2024 14:01:29 +0300 Subject: [PATCH] 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 --- lib/runners/cloud-hypervisor.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runners/cloud-hypervisor.nix b/lib/runners/cloud-hypervisor.nix index 2230d0e..ad1579d 100644 --- a/lib/runners/cloud-hypervisor.nix +++ b/lib/runners/cloud-hypervisor.nix @@ -133,7 +133,7 @@ in { "--serial" "tty" "--kernel" kernelPath "--initramfs" initrdPath - "--cmdline" "console=ttyS0 reboot=t panic=-1 ${toString microvmConfig.kernelParams}" + "--cmdline" "${kernelConsole} reboot=t panic=-1 ${toString microvmConfig.kernelParams}" "--seccomp" "true" "--memory" memOps "--platform" "oem_strings=[io.systemd.credential:vmm.notify_socket=vsock-stream:2:8888]"