SHA256
1
0
forked from pool/libvirt
libvirt/suse-libvirtd-service-xen.patch
James Fehlig b81961b485 Accepting request 603329 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.3.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Remove legacy Xen driver
  - Dropped patches:
    09877303-virSocketAddrParseInternal.patch,
    412afdb8-intro-virSocketAddrParseAny.patch

OBS-URL: https://build.opensuse.org/request/show/603329
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=685
2018-05-02 22:39:32 +00:00

23 lines
820 B
Diff

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.3.0/src/remote/libvirtd.service.in
===================================================================
--- libvirt-4.3.0.orig/src/remote/libvirtd.service.in
+++ libvirt-4.3.0/src/remote/libvirtd.service.in
@@ -16,6 +16,8 @@ After=apparmor.service
After=local-fs.target
After=remote-fs.target
After=systemd-machined.service
+After=xencommons.service
+Conflicts=xendomains.service
Documentation=man:libvirtd(8)
Documentation=https://libvirt.org