[libvirt] [PATCHv4 20/51] snapshot: refactor virsh snapshot creation