[libvirt] [PATCH 1/5] snapshot: Refactor snapshotxml2xml test