* Workaround for hangs on x86_64.

svn path=/nixos/branches/modular-nixos/; revision=16590
This commit is contained in:
Eelco Dolstra 2009-08-05 11:43:51 +00:00
parent 7d3e2b15ef
commit 02c119a104

View file

@ -42,7 +42,10 @@ let
${pkgs.qemu_kvm}/bin/qemu-img create -f qcow2 "$NIX_DISK_IMAGE" 512M || exit 1
fi
# -no-kvm-irqchip is needed to prevent the CIFS mount from
# hanging the VM on x86_64.
${pkgs.qemu_kvm}/bin/qemu-system-x86_64 \
-no-kvm-irqchip \
-net nic,model=virtio -net user -smb / \
-drive file=$NIX_DISK_IMAGE,if=virtio,boot=on \
-kernel ${config.system.build.system}/kernel \