Author: eelco Date: 2010-06-09 13:15:15 +0000 (Wed, 09 Jun 2010) New Revision: 22195
You can view the changes in this commit at: https://svn.nixos.org/viewvc/nix?rev=22195&view=rev Modified: nixos/branches/boot-order/modules/virtualisation/qemu-vm.nix Log: * Don't use the "kvm-clock" clock source because it's unreliable. When starting multiple VMs, some will have perfectly synchronised clocks, while others will have their clocks run much slower (say, a factor of 5). Changes: Modified: nixos/branches/boot-order/modules/virtualisation/qemu-vm.nix =================================================================== --- nixos/branches/boot-order/modules/virtualisation/qemu-vm.nix 2010-06-09 12:56:15 UTC (rev 22194) +++ nixos/branches/boot-order/modules/virtualisation/qemu-vm.nix 2010-06-09 13:15:15 UTC (rev 22195) @@ -169,6 +169,9 @@ boot.initrd.postDeviceCommands = '' + # Workaround for massive clock drift with the "kvm-clock" clock source. + echo hpet > /sys/devices/system/clocksource/clocksource0/current_clocksource + # Set up networking. Needed for CIFS mounting. ifconfig eth0 up 10.0.2.15 _______________________________________________ nix-commits mailing list [email protected] http://mail.cs.uu.nl/mailman/listinfo/nix-commits
