[libvirt] [PATCH 3/5] snapshot: Factor out post-parse code