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.
This commit is contained in:
Brice Waegeneire 2021-02-16 22:23:44 +01:00
parent 2226d5b959
commit d0fcce8baf
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -131,6 +131,10 @@ (define-configuration libvirt-configuration
(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 @@ (define libvirt-service-type
(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