diff options
author | Arthur Gautier <baloo@superbaloo.net> | 2020-07-11 13:33:40 -0700 |
---|---|---|
committer | Arthur Gautier <baloo@superbaloo.net> | 2020-08-23 17:24:38 -0700 |
commit | 4e73ee6a53aa13eb0e922971f7c34f7dc5de4590 (patch) | |
tree | 615c1356c0c26d0364357a2617a36fe20090b66d /pkgs/applications/virtualization | |
parent | 4cfd81acfa029453f2ff35020ff92ba8accca90e (diff) |
qemu: adds tpm support
Diffstat (limited to 'pkgs/applications/virtualization')
-rw-r--r-- | pkgs/applications/virtualization/qemu/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index 7cbc3e4c61978..535f837115346 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -18,6 +18,7 @@ , openGLSupport ? sdlSupport, mesa, epoxy, libdrm , virglSupport ? openGLSupport, virglrenderer , smbdSupport ? false, samba +, tpmSupport ? true , hostCpuOnly ? false , hostCpuTargets ? (if hostCpuOnly then (stdenv.lib.optional stdenv.isx86_64 "i386-softmmu" @@ -127,6 +128,7 @@ stdenv.mkDerivation rec { ++ optional cephSupport "--enable-rbd" ++ optional openGLSupport "--enable-opengl" ++ optional virglSupport "--enable-virglrenderer" + ++ optional tpmSupport "--enable-tpm" ++ optional smbdSupport "--smbd=${samba}/bin/smbd"; doCheck = false; # tries to access /dev |