On 2025-10-07 02:26, Michal Orzel wrote:
Current use of err() has the following issues:
- without setting errno, on error it results in printing e.g.:
  "init-dom0less: writing to xenstore: Success"
  This is very misleading and difficult to deduct that there was a
  failure.
- does not propagate error codes to the caller.
- skips "init_domain failed" message by exiting early.
- early exit prevents setting up any remaining domains.

Replace err() with more informative messages propagating rc when
possible.

Signed-off-by: Michal Orzel <[email protected]>

Reviewed-by: Jason Andryuk <[email protected]>

Thanks,
Jason

Reply via email to