On Tue Oct 7, 2025 at 8:26 AM CEST, 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: Alejandro Vallejo <[email protected]> Cheers, Alejandro
