[PATCH 03/17] virDomainMomentAssignDef: Simplify error handling