[libvirt] [PATCH] libvirtd: systemd: add special target for system shutdown
Maxim Nestratov
mnestratov at virtuozzo.com
Wed Nov 23 08:16:49 UTC 2016
21-Nov-16 15:22, Martin Kletzander пишет:
> On Fri, Oct 14, 2016 at 10:13:48AM +0300, Nikolay Shirokovskiy wrote:
>> It is already discussed in "[RFC] daemon: remove hardcode dep on libvirt-guests" [1].
>>
>> Mgmt can use means to save/restore domains on system shutdown/boot other then
>> libvirt-guests.service. Thus we need to specify appropriate ordering dependency between
>> libvirtd, domains and save/restore service. This patch takes approach suggested
>> in RFC and introduces a systemd target, so that ordering can be built next way:
>>
>> libvirtd -> domain -> virt-guest-shutdown.target -> save-restore.service.
>>
>> This way domains are decoupled from specific shutdown service via intermediate
>> target.
>>
>
> I already thought I replied to this. I just now see I haven't. I tried
> everything that came to my mind and everything worked as expected. So
> ACK. Sorry for waiting.
Pushed now.
Maxim
More information about the libvir-list
mailing list