SHA256
1
0
forked from pool/libvirt
libvirt/suse-libvirtd-service-xen.patch

23 lines
798 B
Diff
Raw Normal View History

Add support for Xen in libvirtd service file
libvirtd should be started after the xencommons service.
libvirtd should also conflict with the xendomains service.
On SUSE distros, we promote libvirt and all the libvirt-based
tools. If a user installs libvirt on their SUSE Xen host, then
libvirt should be king and override xendomains. See bsc#1015348
Index: libvirt-4.0.0/daemon/libvirtd.service.in
===================================================================
--- libvirt-4.0.0.orig/daemon/libvirtd.service.in
+++ libvirt-4.0.0/daemon/libvirtd.service.in
@@ -14,6 +14,8 @@ After=iscsid.service
After=apparmor.service
After=local-fs.target
After=remote-fs.target
+After=xencommons.service
+Conflicts=xendomains.service
Documentation=man:libvirtd(8)
Documentation=https://libvirt.org