Author: eelco
Date: 2010-06-09 10:51:05 +0000 (Wed, 09 Jun 2010)
New Revision: 22191

You can view the changes in this commit at:
   https://svn.nixos.org/viewvc/nix?rev=22191&view=rev

Modified:
   nixos/branches/boot-order/modules/virtualisation/qemu-vm.nix

Log:
* Put the hostname of the VM in the window title.


Changes:

Modified: nixos/branches/boot-order/modules/virtualisation/qemu-vm.nix
===================================================================
--- nixos/branches/boot-order/modules/virtualisation/qemu-vm.nix        
2010-06-09 08:42:30 UTC (rev 22190)
+++ nixos/branches/boot-order/modules/virtualisation/qemu-vm.nix        
2010-06-09 10:51:05 UTC (rev 22191)
@@ -123,7 +123,9 @@
       
       # -no-kvm-irqchip is needed to prevent the CIFS mount from
       # hanging the VM on x86_64.
-      exec ${pkgs.qemu_kvm}/bin/qemu-system-x86_64 -m ${toString 
config.virtualisation.memorySize} \
+      exec ${pkgs.qemu_kvm}/bin/qemu-system-x86_64 \
+          -name ${vmName} \
+          -m ${toString config.virtualisation.memorySize} \
           -no-kvm-irqchip \
           -net nic,vlan=0,model=virtio -net user,vlan=0 -smb / \
           -drive file=$NIX_DISK_IMAGE,if=virtio,boot=on,werror=report \

_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to