criu/plugins
Tvrtko Ursulin 204cd33d17 plugins/amdgpu: Add support for renaming context handles
Following a similar approach as with buffer object handles, and for the
very same reason of not being able to request a specific handle when
creating contexts, use the newly added AMDGPU_CTX_OP_CHANGE_HANDLE
operation supported by the DRM_IOCTL_AMDGPU_CTX ioctl so we can re-create
the context handles as they were in the original process.

Before this change we could only restore a trivial userspace which only
created and never closed any contexts, but now we can handle "sparse"
namespaces as well.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
2026-06-23 13:11:30 +01:00
..
amdgpu plugins/amdgpu: Add support for renaming context handles 2026-06-23 13:11:30 +01:00
cuda amdgpu: use fseeko with large-file support instead of fseeko64 2026-01-08 07:48:23 -08:00