virSystemdCreateMachine: Set dependencies for slices
virSystemdCreateMachine: Set dependencies for slices

https://bugzilla.redhat.com/show_bug.cgi?id=1031696

When creating a new domain, we let systemd know about it by calling
CreateMachine() function via dbus. Systemd then creates a scope and
places domain into it. However, later when the host is shutting
down, systemd computes the shutdown order to see what processes can
be shut down in parallel. And since we were not setting
dependencies at all, the slices (and thus domains) were most likely
killed before libvirt-guests.service. So user domains that had to
be saved, shut off, whatever were in fact killed.  This problem can
be solved by letting systemd know that scopes we're creating must
not be killed before libvirt-guests.service.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

elmarco/libvirt,agx/libvirt,libvirt/libvirt,nertpinx/libvirt,jfehlig/libvirt,eskultety/libvirt,eskultety/libvirt,andreabolognani/libvirt,shugaoye/libvirt,taget/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,datto/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,taget/libvirt,datto/libvirt,zippy2/libvirt,elmarco/libvirt,andreabolognani/libvirt,eskultety/libvirt,elmarco/libvirt,taget/libvirt,zippy2/libvirt,libvirt/libvirt,agx/libvirt,agx/libvirt,eskultety/libvirt,shugaoye/libvirt,olafhering/libvirt,rlaager/libvirt,nertpinx/libvirt,olafhering/libvirt,taget/libvirt,VenkatDatta/libvirt,olafhering/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,eskultety/libvirt,fabianfreyer/libvirt,crobinso/libvirt,zippy2/libvirt,agx/libvirt,andreabolognani/libvirt,crobinso/libvirt,rlaager/libvirt,zippy2/libvirt,datto/libvirt,libvirt/libvirt,rlaager/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,taget/libvirt,olafhering/libvirt,shugaoye/libvirt,rlaager/libvirt,jardasgit/libvirt,jardasgit/libvirt,elmarco/libvirt,shugaoye/libvirt,andreabolognani/libvirt,rlaager/libvirt,jardasgit/libvirt,datto/libvirt,andreabolognani/libvirt,libvirt/libvirt,crobinso/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,agx/libvirt,datto/libvirt,elmarco/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,nertpinx/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,crobinso/libvirt