From c1ecdf708ffe6cc0c49a4b918bf20386e8afc032 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 9 Jun 2010 10:51:05 +0000 Subject: [PATCH] * Put the hostname of the VM in the window title. svn path=/nixos/branches/boot-order/; revision=22191 --- modules/virtualisation/qemu-vm.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/virtualisation/qemu-vm.nix b/modules/virtualisation/qemu-vm.nix index 1c725d946f5..2f554a591a8 100644 --- a/modules/virtualisation/qemu-vm.nix +++ b/modules/virtualisation/qemu-vm.nix @@ -123,7 +123,9 @@ let # -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 \