summary refs log tree commit diff
path: root/nixos/tests/virtualbox.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-09-13 23:17:47 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-09-13 23:17:47 +0200
commit80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0 (patch)
tree1c50157be54ae2261882babfed037b376124ba07 /nixos/tests/virtualbox.nix
parente18f4a2cf92cf4fd43d0d4ad1adfb93cd011cbf1 (diff)
downloadnixpkgs-80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0.tar
nixpkgs-80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0.tar.gz
nixpkgs-80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0.tar.bz2
nixpkgs-80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0.tar.lz
nixpkgs-80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0.tar.xz
nixpkgs-80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0.tar.zst
nixpkgs-80c2cc350cd51fbfa9ccd49aeff08a78ab38fbd0.zip
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>
Diffstat (limited to 'nixos/tests/virtualbox.nix')
-rw-r--r--nixos/tests/virtualbox.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix
index c1205ca0c8a..cafdf10ef51 100644
--- a/nixos/tests/virtualbox.nix
+++ b/nixos/tests/virtualbox.nix
@@ -144,6 +144,7 @@ let
       "--uart1 0x3F8 4"
       "--uartmode1 client /run/virtualbox-log-${name}.sock"
       "--memory 768"
+      "--audio none"
     ] ++ (attrs.vmFlags or []));
 
     controllerFlags = mkFlags [