aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2021-02-16 22:23:44 +0100
committerBrice Waegeneire <brice@waegenei.re>2021-09-04 09:19:42 +0200
commitd0fcce8baf716f8661508db50eaf23b2d5a64a58 (patch)
tree1bbbb71f797525c3e6f0d95d13990f915d7bfc9e
parent2226d5b9590840f6fdc0d5c03b14c9d050435c4e (diff)
downloadguix-d0fcce8baf716f8661508db50eaf23b2d5a64a58.tar.gz
guix-d0fcce8baf716f8661508db50eaf23b2d5a64a58.zip
services: libvirt: Add qemu field.
* gnu/services/virtualization.scm (libvirt-configuration): Add 'qemu' field. (libvirt-service-type): Replace 'qemu' package with the one specified in the service configuration.
-rw-r--r--gnu/services/virtualization.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index 0c75614e18..b0df0489b9 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -131,6 +131,10 @@
(libvirt
(package libvirt)
"Libvirt package.")
+ (qemu
+ (package qemu)
+ "Qemu package.")
+
(listen-tls?
(boolean #t)
"Flag listening for secure TLS connections on the public TCP/IP port.
@@ -485,7 +489,7 @@ potential infinite waits blocking libvirt."))
(lambda (config)
(list
(libvirt-configuration-libvirt config)
- qemu)))
+ (libvirt-configuration-qemu config))))
(service-extension activation-service-type
%libvirt-activation)
(service-extension shepherd-root-service-type