diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-20 11:27:38 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-20 11:27:38 -0400 |
commit | 08f14b33c16ad273f6e4872430dfc8583734af95 (patch) | |
tree | 837cd810aa95d3925509181840d011bc52e25d8a /modules/testing/test-instrumentation.nix | |
parent | 36e05e8dd25810824403f68cef92e3dfe2202cec (diff) | |
parent | 16713db4e294689c55c44615754b08576640f6c4 (diff) | |
download | nixpkgs-08f14b33c16ad273f6e4872430dfc8583734af95.tar nixpkgs-08f14b33c16ad273f6e4872430dfc8583734af95.tar.gz nixpkgs-08f14b33c16ad273f6e4872430dfc8583734af95.tar.bz2 nixpkgs-08f14b33c16ad273f6e4872430dfc8583734af95.tar.lz nixpkgs-08f14b33c16ad273f6e4872430dfc8583734af95.tar.xz nixpkgs-08f14b33c16ad273f6e4872430dfc8583734af95.tar.zst nixpkgs-08f14b33c16ad273f6e4872430dfc8583734af95.zip |
Merge branch 'master' of github.com:NixOS/nixos into systemd
Diffstat (limited to 'modules/testing/test-instrumentation.nix')
-rw-r--r-- | modules/testing/test-instrumentation.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/testing/test-instrumentation.nix b/modules/testing/test-instrumentation.nix index c81f6eaac65..facfe29a4b0 100644 --- a/modules/testing/test-instrumentation.nix +++ b/modules/testing/test-instrumentation.nix @@ -5,6 +5,8 @@ with pkgs.lib; +let kernel = config.boot.kernelPackages.kernel; in + { config = { @@ -75,6 +77,12 @@ with pkgs.lib; system.upstartEnvironment.GCOV_PREFIX = "/tmp/xchg/coverage-data"; + system.requiredKernelConfig = with config.lib.kernelConfig; [ + (isYes "SERIAL_8250_CONSOLE") + (isYes "SERIAL_8250") + (isEnabled "VIRTIO_CONSOLE") + ]; + }; } |