mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
* Pass -cpu kvm64 to keep GMP from barfing.
svn path=/nixpkgs/trunk/; revision=33848
This commit is contained in:
parent
f92ee1a13d
commit
9aa30ba705
@ -211,7 +211,8 @@ rec {
|
||||
|
||||
|
||||
qemuCommandLinux = ''
|
||||
${kvm}/bin/qemu-system-x86_64 \
|
||||
${kvm}/bin/qemu-kvm \
|
||||
${lib.optionalString (pkgs.stdenv.system == "x86_64-linux") "-cpu kvm64"} \
|
||||
-nographic -no-reboot \
|
||||
-net nic,model=virtio \
|
||||
-chardev socket,id=samba,path=./samba \
|
||||
@ -407,7 +408,7 @@ rec {
|
||||
|
||||
qemuCommandGeneric = ''
|
||||
PATH="${samba}/sbin:$PATH" \
|
||||
${kvm}/bin/qemu-system-x86_64 \
|
||||
${kvm}/bin/qemu-kvm \
|
||||
-nographic -no-reboot \
|
||||
-smb $(pwd) -hda $diskImage \
|
||||
$QEMU_OPTS
|
||||
|
Loading…
Reference in New Issue
Block a user