Re: [PATCH 5/7] migration: Display error in query-migrate irrelevant of status

2023-06-29 Thread Peter Xu
On Wed, Jun 28, 2023 at 08:01:22PM -0300, Fabiano Rosas wrote: > Peter Xu writes: > > > Display it as long as being set, irrelevant of FAILED status. E.g., it may > > also be applicable to PAUSED stage of postcopy, to provide hint on what has > > gone wrong. > > This might have made the documen

Re: [PATCH 5/7] migration: Display error in query-migrate irrelevant of status

2023-06-28 Thread Fabiano Rosas
Peter Xu writes: > Display it as long as being set, irrelevant of FAILED status. E.g., it may > also be applicable to PAUSED stage of postcopy, to provide hint on what has > gone wrong. This might have made the documentation slightly inaccurate: # @error-desc: the human readable error descript

[PATCH 5/7] migration: Display error in query-migrate irrelevant of status

2023-06-28 Thread Peter Xu
Display it as long as being set, irrelevant of FAILED status. E.g., it may also be applicable to PAUSED stage of postcopy, to provide hint on what has gone wrong. The error_mutex seems to be overlooked when referencing the error, add it to be very safe. Signed-off-by: Peter Xu --- migration/mi