Skip to content

Commit d7804d2

Browse files
bjackmanastro
authored andcommitted
firecracker: Increase serial baudrate
By default the kernel uses a slow baudrate which, at least on my host, slows down boot by about 10 seconds.
1 parent 1d05a3c commit d7804d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runners/firecracker.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let
2424
boot-source = {
2525
kernel_image_path = kernelPath;
2626
initrd_path = initrdPath;
27-
boot_args = "console=ttyS0 noapic acpi=off reboot=k panic=1 i8042.noaux i8042.nomux i8042.nopnp i8042.dumbkbd ${toString microvmConfig.kernelParams}";
27+
boot_args = "console=ttyS0,115200 noapic acpi=off reboot=k panic=1 i8042.noaux i8042.nomux i8042.nopnp i8042.dumbkbd ${toString microvmConfig.kernelParams}";
2828
};
2929
machine-config = {
3030
vcpu_count = vcpu;

0 commit comments

Comments
 (0)