mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
Currently the failure to save content of a buffer object is only logged, while the checkpointing will continue unaware due the error code being "eaten" inside sdma_copy_bo() cleanup path, together with the caller not checking the return value to begin with. Fix it by preserving and returning the original error code inside sdma_copy_bo(), and abort the checkpointing process in case of a failure. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Reviewed-By: David Francis <David.Francis@amd.com> |
||
|---|---|---|
| .. | ||
| amdgpu | ||
| cuda | ||