3
0
Fork 0
forked from mirrors/nixpkgs

Attempt to fix transient grub1 test kernel panics

Example: http://hydra.nixos.org/build/32469819/nixlog/26/raw
This commit is contained in:
Domen Kožar 2016-03-02 17:30:42 +00:00
parent 0c1ed282f0
commit ba05826707

View file

@ -46,7 +46,7 @@ let
, grubIdentifier, preBootCommands, extraConfig
}:
let
iface = if grubVersion == 1 then "scsi" else "virtio";
iface = if grubVersion == 1 then "ide" else "virtio";
qemuFlags =
(if system == "x86_64-linux" then "-m 768 " else "-m 512 ") +
(optionalString (system == "x86_64-linux") "-cpu kvm64 ");