Commit Graph

186 Commits

Author SHA1 Message Date
Jan Tojnar
1837136c7b libvirt: use /run for runstatedir
systemd complains:

	Jul 08 12:43:59 kaiser systemd[1]: /nix/store/bvfikb8v9m646m23fqm0rfnnsj6plc2k-libvirt-6.2.0/lib/systemd/system/libvirtd-admin.socket:11: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-admin-sock → /run/libvirt/libvirt-admin-sock; please update the unit file accordingly.
	Jul 08 12:43:59 kaiser systemd[1]: /nix/store/bvfikb8v9m646m23fqm0rfnnsj6plc2k-libvirt-6.2.0/lib/systemd/system/libvirtd-ro.socket:11: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-sock-ro → /run/libvirt/libvirt-sock-ro; please update the unit file accordingly.
	Jul 08 12:43:59 kaiser systemd[1]: /nix/store/bvfikb8v9m646m23fqm0rfnnsj6plc2k-libvirt-6.2.0/lib/systemd/system/libvirtd.socket:9: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-sock → /run/libvirt/libvirt-sock; please update the unit file accordingly.

Let's just set it correctly manually, that is what Red Hat does:

ba7592f6c1

See also:

390997925a
2020-07-08 18:56:01 +02:00
Edmund Wu
2913697d6d
libvirt: 6.2.0 -> 6.3.0 2020-05-28 23:42:04 -04:00
Jaka Hudoklin
741c8c24e1 libvirt: enable polkit support 2020-05-13 21:00:04 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Piotr Bogdan
bc66b77de9 libvirt: 6.1.0 -> 6.2.0 2020-04-09 10:30:14 +01:00
Izorkin
9336b15a88 libvirt: 5.4.0 -> 5.9.0 2020-03-15 15:13:03 +07:00
volth
d8664c78b1 libvirt: 6.0.0 -> 6.1.0, fix module 2020-03-15 11:29:04 +07:00
wedens
24c8d75874 libvirt: 5.4.0 -> 6.0.0 2020-03-15 11:28:54 +07:00
Andreas Rammhold
22388a56c2
libvirtd: fix path to ebtables
With the bump of iptables (#75026) ebtables was renamed from `ebtables`
to `ebtables-legacy`. libvirtd requires this binary to be availabe to
configure the host networking.

fixes #75878
2020-01-12 23:28:15 +01:00
Vladimír Čunát
985d1ac425
Merge branch 'master' into staging-next
There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
2019-08-25 14:57:11 +02:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Alexander Bakker
d20022018e libvirtd: add onBoot option
This adds a new ``onBoot`` option that allows specifying the action taken on
guests when the host boots. Specifying "start" ensures all guests that were
running prior to shutdown are started, regardless of their autostart settings.
Specifying "ignore" will make libvirtd ignore such guests. Any guest marked as
autostart will still be automatically started by libvirtd.
2019-08-23 17:52:12 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Robert Scott
8ac0f575d9 libvirt: 5.3.0 -> 5.4.0
including parallel bumps of pythonPackages.libvirt and perlPackages.SysVirt

also include patches for CVE-2019-10161, CVE-2019-10166, CVE-2019-10167
and CVE-2019-10168
2019-06-29 11:59:48 +01:00
Graham Christensen
cc588bd420
Merge pull request #61011 from volth/libvirt-5.3.0
libvirt: 4.10.0 -> 5.3.0
2019-06-28 16:06:17 -04:00
Peter Hoeg
67cca52fd9
Merge pull request #53204 from peterhoeg/m/libvirt
libvirt: support proper networking in user session
2019-06-27 11:39:48 +08:00
volth
8da1da9d74 libvirt: 4.10.0 -> 5.3.0 2019-05-05 21:58:11 +00:00
Daniel Kuehn
b32491fd3c libvirt: Add argument to enable support for ceph rbd storage 2019-02-06 19:52:42 +01:00
Peter Hoeg
38798eefc7 libvirtd: pass proper paths to qemu helpers 2019-01-07 12:09:34 +08:00
volth
0ab6572324 libvirt: 4.7.0 -> 4.10.0 2018-12-17 23:12:44 +00:00
volth
0a784c094f libvirt: 4.5.0 -> 4.7.0 (#46502) 2018-09-29 22:33:38 +02:00
Uli Baum
ebac61b0d0 libvirt: explicitly configure qemu support
it is enabled by default in 4.5.0 but conditional in 4.6.0 so
let's already put it in here to avoid issues on the next bump.
2018-08-21 22:54:54 +02:00
Uli Baum
6b5b7d96fb Revert "libvirt: 4.5.0 -> 4.6.0 (#44566)"
This reverts commit 8835240895.

4.6.0 is quite broken. Let's wait for the next release.
2018-08-21 22:08:21 +02:00
Uli Baum
528f4a2d1f Revert "libvirt: jansson required for qemu suppport"
This reverts commit df05344d96.

Upstream has reverted their move from yajl to jansson after 4.6.0
because of major issues.
Let's revert to libvirt 4.5.0 and wait for the next upstream release.
2018-08-21 22:07:05 +02:00
Uli Baum
4ad233e518 Revert "libvirt: fix dlopen("libjansson.so.4")"
This reverts commit 929a53f281.

Upstream has reverted their move from yajl to jansson after 4.6.0
because of major issues. No point in trying to fix it.
Let's revert to libvirt 4.5.0 and wait for the next upstream release.
2018-08-21 22:03:58 +02:00
Matthieu Coudron
929a53f281 libvirt: fix dlopen("libjansson.so.4")
Commit 59027e2 broke libvirt broke libvirt/nixops on linux.
Use ${targetPlatform.extensions.sharedLibrary} to accomodate both linux and darwin.
2018-08-19 22:33:06 +09:00
Jude Taylor
59027e2880 Revert "libvirt: fix dlopen("libjansson.so.4")"
This reverts commit d46cfd2ff0, which
broke libvirt + some dependent packages (notably nixops) on Darwin
2018-08-15 12:07:03 -07:00
volth
d46cfd2ff0
libvirt: fix dlopen("libjansson.so.4") 2018-08-11 13:58:06 +00:00
volth
df05344d96
libvirt: jansson required for qemu suppport 2018-08-11 09:19:09 +00:00
volth
8835240895 libvirt: 4.5.0 -> 4.6.0 (#44566) 2018-08-06 23:15:06 +02:00
Matthew Bauer
4ed7a4b993 treewide: preserve hashes from 76999cc40e
76999cc40e changed some hashes resulting in this PR being technically
a mass rebuild. To avoid this, I am restoring some of the hashes (even
though it seems silly). My main goal is to get this PR merged quickly
as treewide changes like this get out-of-date quickly.

This commit should be reverted on the next mass rebuild.
2018-07-19 00:09:01 -04:00
Matthew Bauer
76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00
volth
8c3b33ea73 libvirt: 4.4.0 -> 4.5.0 (#43164) 2018-07-11 22:34:13 +02:00
ajs124
3f9d968637 libvirt: fix iscsi storage support
Turns out, I was testing #42545 in a nix-shell and forgot how it handles dependencies different from environments.
2018-06-27 16:21:24 +02:00
ajs124
2cd0c2e2df libvirt: enable (optional) support for iscsi storage (#42545) 2018-06-25 13:11:56 +02:00
Robin Gloster
8c5ccc935f
libvirt: make xen support optional 2018-06-18 10:27:08 +02:00
volth
22a74ad5f2 libvirt: 4.1.0 -> 4.4.0 2018-06-08 11:21:22 +00:00
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
Tobias Geerinckx-Rice
8b29707592 {,pythonPackages.}libvirt: 1.2.18 -> 1.2.19
The previous bump erroneously said 1.2.19. Make it so.
2015-09-11 00:41:06 +02:00
Tobias Geerinckx-Rice
336b79e6e3 {,pythonPackages.}libvirt: 1.2.17 -> 1.2.19 2015-09-05 04:20:22 +02:00
William A. Kennington III
799c46e6e7 libvirt: 1.2.12 -> 1.2.17 2015-07-05 16:50:50 -07:00
Vladimír Čunát
b7c3c25218 fix ${udev} references (and a few others) 2015-05-05 11:52:08 +02:00
Nathaniel Baxter
0be8418275 libvirt: update from 1.2.9 to 1.2.12
libvirt-glib: update from 0.1.9 to 0.2.0
pythonPackages.libvirt: update from 1.2.9 to 1.2.12

Potentially fixes CVE-2014-7823 CVE-2015-0236
2015-02-23 20:09:54 +01:00
Domen Kožar
9b7b2ce8eb Revert "Introduce patchShebangsPhase ran in preConfigurePhases"
This reverts commit 512fbb280f.

See #5368
2015-01-08 10:26:49 +01:00
Domen Kožar
512fbb280f Introduce patchShebangsPhase ran in preConfigurePhases
(cherry picked from commit 91c7e8747af1fdc2a70cd98594ccbb12a5c6902d)
Signed-off-by: Domen Kožar <domen@dev.si>
2015-01-02 02:58:32 +01:00
Ricardo M. Correia
d4b4bae307 Update my maintainership 2014-11-29 02:15:39 +01:00
Aycan iRiCAN
aecc62921e Added libpcap dependency and --with-libpcap configure flag to support ip address learning 2014-10-27 18:34:41 +02:00
Aristid Breitkreuz
908a9fcf12 add assertion to keep libvirt and libvirt-python versions in sync 2014-10-08 19:01:05 +02:00
Aristid Breitkreuz
e200a98843 libvirt: update from 1.2.7 to 1.2.9 2014-10-07 22:54:05 +02:00
Chris Farmiloe
08534000a4 Ensure libvirtd is started after vswitch and add ability to configure how libvirtd guests are shutdown 2014-09-02 01:48:50 +04:00