[libvirt PATCH 05/10] virsh: snapshot: move variables inside the loop