git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/tests/vbox: Disable audio for VBox guests

We don't have (simulated) sound hardware within the qemu VM, neither do we have it available within VirtualBox that's running within the qemu VMs. With sound hardware the VirtualBox UI displays an error dialog, which in turn causes the VM process to hang on unregister. This in turn has caused the tests to fail because of the following error: Cannot unregister the machine '...' while it is locked Signed-off-by: aszlig <aszlig@redmoonstudios.org>

commit80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0 authoraszlig <aszlig@redmoonstudios.org> dateTue 13 Sep 2016, 23:17 (10 years ago) parente18f4a2
1 file changed+1
nixos/tests/virtualbox.nix+1
nixos/tests/virtualbox.nix+1
@@ -144,6 +144,7 @@ let
144144 "--uart1 0x3F8 4"
145145 "--uartmode1 client /run/virtualbox-log-${name}.sock"
146146 "--memory 768"
147+ "--audio none"
147148 ] ++ (attrs.vmFlags or []));
148149
149150 controllerFlags = mkFlags [