[libvirt] [PATCH 1/7] conf: Add error checking to virDomainSnapshotDiskDefFormat