summary refs log tree commit diff
path: root/nixos/modules/virtualisation/libvirtd.nix
Commit message (Collapse)AuthorAge
* libvirt: make guest suspend work, use upstream unitsFranz Pletz2017-03-25
|
* libvirt: expose libvirt qemu configuration fileTristan Helmich2017-02-21
| | | | fixes #22823
* nixos.libvirtd: fix broken VMs due to emulator path changesRicardo M. Correia2016-11-03
| | | | | | | This had already been fixed in f52f9bf7cd922b54c874e5500a2c64277e57d417, but the problem was reintroduced in bce59a1a8bb0430533178df080937ce24efe926a because the path to the XML files changed.
* nixos/libvirtd: Don't use the --daemon flag now that we use the 'notify' ↵Rickard Nilsson2016-07-01
| | | | service type
* nixos/libvirt: Syntactic-only refactoringRickard Nilsson2016-06-27
|
* nixos/libvirt: Add virtlogd and virtlockd systemd sockets and servicesRickard Nilsson2016-06-27
|
* nixos/libvirt: Adapt libvirtd.service to upstream sourcesRickard Nilsson2016-06-27
|
* nixos/libvirt: Remove non-functional service libvirt-guestsRickard Nilsson2016-06-27
| | | | | It doesn't have a start script, so it hasn't worked at all in a long time.
* libvirtd service: Move mutable configs to /varTristan Helmich2016-01-15
| | | | | | | | 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.
* jobs -> systemd.servicesRobin Gloster2016-01-07
|
* nixos/libvirtd: remove --verbose flagBjørn Forsman2015-05-20
| | | | | | | | | | | | Because it spams the log: .libvirtd-wrapp[1950]: OBJECT_UNREF: obj=0x7f5d900b4200 .libvirtd-wrapp[1950]: EVENT_POLL_UPDATE_HANDLE: watch=874 events=13 .libvirtd-wrapp[1950]: OBJECT_UNREF: obj=0x7f5d900b4200 .libvirtd-wrapp[1950]: EVENT_POLL_RUN: nhandles=24 timeout=-1 .libvirtd-wrapp[1950]: EVENT_POLL_DISPATCH_HANDLE: watch=874 events=1 .libvirtd-wrapp[1950]: OBJECT_REF: obj=0x7f5d900b4200 .libvirtd-wrapp[1950]: [137B blob data]
* nixos/libvirtd: add 'extraOptions' optionBjørn Forsman2015-05-20
| | | | | And move the '--verbose' flag to extraOptions, so that users can easily disable it.
* bridge-utils: align attrname with pkgnameBjørn Forsman2015-02-20
|
* nixos/libvirtd: refresh LXC emulator path on startupBjørn Forsman2014-09-15
| | | | | | | | | This fixes the issue when the LXC emulator binary is garbage collected and breaks libvirtd containers, because libvirtd XML file still refers to GC'ed store path. We already have a fix for QEMU, this commit extends the fix to cover LXC too.
* Ensure libvirtd is started after vswitch and add ability to configure how ↵Chris Farmiloe2014-09-02
| | | | libvirtd guests are shutdown
* add openvswitch package + basic nixos module to enable itChris Farmiloe2014-09-02
|
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* nixos: add type definitions to virtualisation.libvirtd.* optionsBjørn Forsman2014-04-07
|
* nixos/libvirtd-service: fix fail-to-start when no machines are configuredBjørn Forsman2013-12-09
| | | | | Don't fail to start the libvirtd service just because there are no files that match the /etc/libvirt/qemu/*.xml pattern.
* nixos/libvirtd-service: fix for garbage collected emulator pathsBjørn Forsman2013-11-27
| | | | | | | | | | | libvirtd puts the full path of the emulator binary in the machine config file. But this path can unfortunately be garbage collected while still being used by the virtual machine. Then this happens: Error starting domain: Cannot check QEMU binary /nix/store/z5c2xzk9x0pj6x511w0w4gy9xl5wljxy-qemu-1.5.2-x86-only/bin/qemu-kvm: No such file or directory Fix by updating the emulator path on each service startup to something valid (re-scan $PATH).
* nixos/libvirtd-service: fix for dnsmasq (dir perms 700 -> 755)Bjørn Forsman2013-11-10
| | | | | | | | | | | | | | | | Fixes this: Nov 09 16:18:54 nixos-laptop systemd[1]: Starting Libvirt Virtual Machine Management Daemon... Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: read /etc/hosts - 2 addresses Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: failed to load names from /var/lib/libvirt/dnsmasq/default.addnhosts: Permission denied Nov 09 16:18:54 nixos-laptop dnsmasq[15809]: cannot read /var/lib/libvirt/dnsmasq/default.hostsfile: Permission denied Nov 09 16:18:55 nixos-laptop systemd[1]: Started Libvirt Virtual Machine Management Daemon. I don't understand the reason for the original 700 permission bits. Apparently read-access is needed and Ubuntu also use 755 perms. Use "chmod" instead of "mkdir -m" to set permissions because mkdir doesn't modify permissions on existing directories.
* Remove remaining references to UpstartEelco Dolstra2013-10-31
|
* nixos/libvirtd: fix remote ssh managment by adding netcat-openbsd in system ↵Jaka Hudoklin2013-10-24
| | | | | | | | | packages Virsh/virt-manager uses ssh to connect to master, there it expects openbsd netcat(which has support for unix sockets) to be avalible, to make a tunnel. Close #1087.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10