3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
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
..
doc/manual Merge pull request #32540 from rnhmjoj/portrange 2017-12-20 23:51:08 +00:00
lib make-disk-image.nix: Really fix write permissions in the store 2017-12-20 17:28:46 +02:00
maintainers create-amis.sh: Ass eu-west-3 2017-12-20 16:35:22 +01:00
modules nixos/libvirt: avoid dependency on two qemu packages 2017-12-21 03:56:40 +00:00
tests Merge pull request #32637 from makefu/pkgs/openstack/nuke 2017-12-15 10:06:23 -08:00
COPYING
default.nix Remove nixFallback 2017-03-06 15:54:50 +01:00
README
release-combined.nix Merge pull request #31805 from gleber/make-switch-to-configuration-pure 2017-11-19 19:03:52 +00:00
release-small.nix php: pcre test blocks -small channels as well 2017-11-12 11:03:54 +01:00
release.nix glance: rip 2017-12-15 16:08:10 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.