Re: [PATCH v8 10/10] xen: introduce ERRP_AUTO_PROPAGATE

2020-03-06 Thread Paul Durrant
On Fri, 6 Mar 2020 at 05:16, Vladimir Sementsov-Ogievskiy wrote: > > If we want to add some info to errp (by error_prepend() or > error_append_hint()), we must use the ERRP_AUTO_PROPAGATE macro. > Otherwise, this info will not be added when errp == &error_fatal > (the program will exit prior to th

Re: [PATCH v8 10/10] xen: introduce ERRP_AUTO_PROPAGATE

2020-03-06 Thread Vladimir Sementsov-Ogievskiy
06.03.2020 12:12, Paul Durrant wrote: On Fri, 6 Mar 2020 at 05:16, Vladimir Sementsov-Ogievskiy wrote: If we want to add some info to errp (by error_prepend() or error_append_hint()), we must use the ERRP_AUTO_PROPAGATE macro. Otherwise, this info will not be added when errp == &error_fatal (t

[PATCH v8 10/10] xen: introduce ERRP_AUTO_PROPAGATE

2020-03-05 Thread Vladimir Sementsov-Ogievskiy
If we want to add some info to errp (by error_prepend() or error_append_hint()), we must use the ERRP_AUTO_PROPAGATE macro. Otherwise, this info will not be added when errp == &error_fatal (the program will exit prior to the error_append_hint() or error_prepend() call). Fix such cases. If we want