3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
volth a52aa6aafb nixos/libvirt: avoid dependency on two qemu packages
Currently libvirt requires two qemu derivations: qemu and qemu_kvm which is just a truncated version of qemu (defined as qemu.override { hostCpuOnly = true; }).

This patch exposes an option virtualisation.libvirtd.qemuPackage which allows to choose which package to use:

 * pkgs.qemu_kvm if all your guests have the same CPU as host, or
 * pkgs.qemu which allows to emulate alien architectures (for example ARMV7L on X86_64), or
 * a custom derivation

virtualisation.libvirtd.enableKVM option is vague and could be deprecate in favor of virtualisation.libvirtd.qemuPackage, anyway it does allow to enable/disable kvm.
2017-12-21 03:56:40 +00:00
..
config pinentry: override pinentry_ncurses instead of the other way around 2017-12-16 04:39:29 +01:00
hardware intel-ocl: r4.0-59481 -> 5.0-63503 2017-11-01 17:59:49 +00:00
i18n/input-method Remove top-level kde5 attribute 2017-02-27 11:49:10 -06:00
installer Merge pull request #32031 from NixOS/unstable-aarch64 2017-12-12 17:44:07 -05:00
misc glance: rip 2017-12-15 16:08:10 +01:00
profiles nixos/qemu-guest: Ensure virtio_mmio is available in initrd 2017-11-26 11:22:39 +02:00
programs nixos/programs/bash: document that /etc/bash_completion.d is obsolete 2017-12-10 12:16:25 +00:00
security nixos/pam: fix docs about path to u2f_keys file 2017-11-17 17:50:40 +01:00
services nixos/desktop-managers: do not leak feh to PATH 2017-12-21 01:43:38 +00:00
system Merge pull request #32829 from flokli/input_leds 2017-12-19 21:36:51 +00:00
tasks nixos: zfs: correct the networking.hostId error message 2017-12-20 17:56:03 -05:00
testing tests: logToJournal has been renamed 2017-12-06 17:45:40 +08:00
virtualisation nixos/libvirt: avoid dependency on two qemu packages 2017-12-21 03:56:40 +00:00
module-list.nix Merge pull request #32584 from manoj23/davfs2-v3 2017-12-17 08:53:18 +01:00
rename.nix nixos/xserver: fix X.org session script logging 2017-11-27 11:29:37 +01:00