[libvirt] [PATCH V5 04/10] Use scripting for cleaning and renaming of chains