[libvirt] [PATCH V6 04/11] Use scripting for cleaning and renaming of chains