Commit Graph

98 Commits

Author SHA1 Message Date
Vincent Laporte
bf5e8ce96b libvirt: build from tarball 2018-03-09 13:54:31 +00:00
volth
2fa253cba1 libvirt: fix darwin build 2018-03-09 00:11:02 +00:00
volth
632e9e62c8 libvirt: 3.10.0 -> 4.1.0 2018-03-08 23:45:28 +00:00
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
John Doe
750a7c677b libvirt: remove xen dependency on aarch64 2017-12-11 19:46:05 +02:00
Frederik Rietdijk
8b5fd51064 python.pkgs.libvirt: move to separate file 2017-12-09 10:10:05 +01:00
John Doe
5b5b686f0a libvirt: 3.8.0 -> 3.10.0 2017-12-07 15:16:59 +00:00
Franz Pletz
17a069276f
libvirt: 3.6.0 -> 3.8.0 2017-10-24 14:21:06 +02:00
Kai Harries
32e4e2c47b libvirt: Add qemu to runtime closure
The program `qemu-img` is needed during creation of virtual machines
with qcow2 images. Otherwise creation of such VMs (e.g. with
virt-manager) are failing.
2017-09-25 07:46:29 +02:00
Vincent Laporte
4ee717d2d3 libvirt: fix build on darwin 2017-09-03 07:24:49 +00:00
Volth
84a6a3683b libvirt: 3.5.0 -> 3.6.0 2017-08-03 13:53:57 +00:00
volth
17c8fe21fd libvirt: 3.1.0 -> 3.5.0 (#25411) 2017-07-20 23:31:04 +02:00
Bjørn Forsman
01ec484a47 libvirt: add missing gettext in libvirt-guests.sh
Or else this is seen in the system log:

.../libexec/libvirt-guests.sh: line 211: gettext: command not found
2017-07-13 21:42:32 +02:00
Vincent Laporte
dd1471b4c4 libvirt: fix build on darwin 2017-06-05 05:50:46 +00:00
Vince van Oosten
00c3bd1561 add parted to build inputs 2017-04-11 16:05:07 +02:00
Vince v. Oosten
39e95aa159 add disk storage to libvirt 2017-04-11 13:03:02 +02:00
Franz Pletz
0018cd5a2d
libvirt packages: fix & clean up dependencies 2017-03-28 19:45:01 +02:00
Franz Pletz
d8dd2fb9e5
libvirt: 3.0.0 -> 3.1.0
Missing in 1cca97cf18.
2017-03-27 17:08:19 +02:00
Franz Pletz
d545772640
libvirt: make guest suspend work, use upstream units 2017-03-25 14:59:01 +01:00
Franz Pletz
ddb608814a
libvirt: build with attr and apparmor 2017-03-25 14:58:26 +01:00
Volth
1cca97cf18
libvirt: 3.0.0 -> 3.1.0 2017-03-25 14:54:16 +01:00
Franz Pletz
a50ff980be
libvirt: 2.5.0 -> 3.0.0 2017-01-22 13:01:02 +01:00
Rickard Nilsson
b02e6cc70d libvirt and pythonPackages.libvirt: 2.2.0 -> 2.5.0 2016-12-19 11:52:02 +01:00
Frederik Rietdijk
76a11c1fbb libvirt: use python2 2016-11-24 22:28:03 +01:00
Rickard Nilsson
3d03d3e615 libvirt and pythonPackages.libvirt: 2.1.0 -> 2.2.0 2016-09-06 07:47:56 +02:00
Tuomas Tynkkynen
282277dbc8 treewide: Use more makeBinPath 2016-08-23 01:18:10 +03:00
Rickard Nilsson
7a3260c590 libvirt and pythonPackages.libvirt: 2.0.0 -> 2.1.0 2016-08-21 09:51:24 +02:00
Alexei Robyn
c30d4e07c5 libvirt: revert to full systemd dependency
Fixes issue with virt-manager failing to list 'USB Host Devices' and
'PCI Host Devices' with the error "Connection does not support host
device enumeration".
2016-07-15 12:47:26 +02:00
Rickard Nilsson
5356154366 libvirt and pythonPackages.libvirt: 1.3.5 -> 2.0.0 2016-07-02 00:24:36 +02:00
Rickard Nilsson
8404d626ad libvirt: Fix libsystemd dependency 2016-07-01 20:12:33 +02:00
Rickard Nilsson
b43268bfeb libvirt and pythonPackages.libvirt: 1.3.3 -> 1.3.5 2016-06-26 11:01:13 +02:00
Franz Pletz
26964c2fb5 libvirt: enable zfs on linux 2016-05-23 15:49:07 +02:00
Alexander Ried
e898c4f1d5 libvirt: add comment about updating 2016-04-20 00:03:37 +02:00
Vladimír Čunát
39ebb01d6e Merge branch 'staging', containing closure-size #7701 2016-04-13 09:25:28 +02:00
Franz Pletz
862875f9cd libvirt: 1.3.2 -> 1.3.3 2016-04-12 15:49:54 +02:00
Vladimír Čunát
ab15a62c68 Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Franz Pletz
e312a34775 libvirt: Add fpletz as maintainer 2016-03-19 16:33:49 +01:00
Franz Pletz
ff0cfc160f libvirt: 1.3.0 -> 1.3.2 2016-03-19 16:32:52 +01:00
Vladimír Čunát
716aac2519 Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
Tristan Helmich
bce59a1a8b libvirtd service: Move mutable configs to /var
Modifies libvirt package to search for configs in /var/lib and changes
libvirtd service to copy the default configs to the new location.

This enables the user to change e.g. the networking configuration with
virsh or virt-manager and keep those settings.
2016-01-15 14:26:20 +01:00
Tobias Geerinckx-Rice
286cd8378c libvirt: apply patch to build 1.3.0 on BSD/Darwin
Upstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1293060

This patch is based on the one attached to that bug report, but
instead of patching the .x files (parsing of which apparently
fails as well) it modifies the pre-generated .c files directly.

This ought to fix #12139.
2016-01-04 19:42:07 +01:00
Wido den Hollander
2773dfbb5e libvirt: Update from 1.2.19 to 1.3.0 2015-12-31 14:40:07 +01:00
Vladimír Čunát
f9f6f41bff Merge branch 'master' into closure-size
TODO: there was more significant refactoring of qtbase and plasma 5.5
on master, and I'm deferring pointing to correct outputs to later.
2015-12-31 09:53:02 +01:00
Robin Gloster
4e225b61d2 libvirt: add xen support 2015-12-28 21:43:25 +00:00
Robin Gloster
876a182b66 libvirt: fix including libpcap 2015-12-28 21:43:25 +00:00
Dan Peebles
6878b2b21d libvirt: make it build on darwin
Not sure if it works, but it no longer fails miserably at build time
2015-12-24 23:34:47 -05:00
Dan Peebles
8c42b26fa2 libvirt: switch who makes assertions about whose version
Previously, the native libvirt package was making an assertion that
the dependent Python package had a compatible version. This commit
switches that so that the Python package makes the assertion, since
it makes more sense to me to have a child package making an
assertion about its parent than vice versa.
2015-12-24 19:59:44 +00:00
Domen Kožar
0acc32e836 libvirt: add numa support 2015-12-15 23:42:03 +01:00
Vladimír Čunát
b44d846990 udev: complete rework
- systemd puts all into one output now (except for man),
  because I wasn't able to fix all systemd/udev refernces
  for NixOS to work well
- libudev is now by default *copied* into another path,
  which is what most packages will use as build input :-)
- pkgs.udev = [ libudev.out libudev.dev ]; because there are too many
  references that just put `udev` into build inputs (to rewrite them all),
  also this made "${udev}/foo" fail at *evaluation* time
  so it's easier to catch and change to something more specific
2015-10-04 10:03:53 +02:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00