%libvirt_daemon_perform_restart virtstoraged
+%if %{with_qemu}
%post daemon-driver-qemu
-%if %{with_modular_daemons}
+ %if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtqemud
-%endif
+ %endif
%libvirt_daemon_schedule_restart virtqemud
%preun daemon-driver-qemu
%posttrans daemon-driver-qemu
%libvirt_daemon_perform_restart virtqemud
+%endif
+%if %{with_lxc}
%post daemon-driver-lxc
-%if %{with_modular_daemons}
+ %if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtlxcd
-%endif
+ %endif
%libvirt_daemon_schedule_restart virtlxcd
%preun daemon-driver-lxc
%posttrans daemon-driver-lxc
%libvirt_daemon_perform_restart virtlxcd
+%endif
+%if %{with_vbox}
%post daemon-driver-vbox
-%if %{with_modular_daemons}
+ %if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtvboxd
-%endif
+ %endif
%libvirt_daemon_schedule_restart virtvboxd
%preun daemon-driver-vbox
%posttrans daemon-driver-vbox
%libvirt_daemon_perform_restart virtvboxd
+%endif
+%if %{with_libxl}
%post daemon-driver-libxl
-%if %{with_modular_daemons}
+ %if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtxend
-%endif
+ %endif
%libvirt_daemon_schedule_restart virtxend
%preun daemon-driver-libxl
%posttrans daemon-driver-libxl
%libvirt_daemon_perform_restart virtxend
+%endif
%post daemon-config-network