[libvirt] [PATCH 3/7] snapshot: Refactor virDomainSnapshotDefFormat