[PATCH v5 1/8] conf: Introduce virDomainInputDefRemove and fix memory leak