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