diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-11-20 00:01:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-20 00:01:21 +0000 |
commit | 7495684853151ab456d8b78b5f4ae0e19036dea0 (patch) | |
tree | 3a9ee466135f9c4e7845e6fa70728c6f8885fa00 /nixos/modules/virtualisation/qemu-vm.nix | |
parent | 4669316d5c3513bb2e8f346ac93c3d82eea1f882 (diff) | |
parent | 939caa7fb77028634d31956db72480c204752f9e (diff) |
Merge master into staging-next
Diffstat (limited to 'nixos/modules/virtualisation/qemu-vm.nix')
-rw-r--r-- | nixos/modules/virtualisation/qemu-vm.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 67fde55faabe7..0c2782d3e0274 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -845,7 +845,7 @@ in ''-append "$(cat ${config.system.build.toplevel}/kernel-params) init=${config.system.build.toplevel}/init regInfo=${regInfo}/registration ${consoles} $QEMU_KERNEL_PARAMS"'' ]) (mkIf cfg.useEFIBoot [ - "-drive if=pflash,format=raw,unit=0,readonly,file=${efiFirmware}" + "-drive if=pflash,format=raw,unit=0,readonly=on,file=${efiFirmware}" "-drive if=pflash,format=raw,unit=1,file=$NIX_EFI_VARS" ]) (mkIf (cfg.bios != null) [ |