[libvirt PATCH 09/11] qemu_snapshot: create: move snapshot redefine to separate function