Re: [libvirt] [PATCH v4] qemu: fix broken autostart symlink after renaming domain.

2018-07-19 Thread Erik Skultety
On Thu, Jul 19, 2018 at 01:21:48AM -0300, Julio Faracco wrote: > If a domain is configured to start on boot, it has a symlink to the > domain definition inside the autostart directory. If you rename this > domain, the definition is renamed too. The symlink need to be pointed to > this renamed

[libvirt] [PATCH v4] qemu: fix broken autostart symlink after renaming domain.

2018-07-18 Thread Julio Faracco
If a domain is configured to start on boot, it has a symlink to the domain definition inside the autostart directory. If you rename this domain, the definition is renamed too. The symlink need to be pointed to this renamed file. This commit recreates the symlink after renaming the XML file.