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