criu/plugins
Radostin Stoyanov b0fb87ea04 criu: add support for --gpu-device-map
This option allows to specify a GPU device map that will be used during
restore. The provided map must contain all checkpointed GPU devices
in the format "oldUuid=newUuid,oldUuid=newUuid,..." that will be
used to remap old devices to new devices.

Example of migrating all process from GPU_0 to GPU_1:

i=0
for uuid in $(nvidia-smi --list-gpus | grep -oP 'UUID: \K[^)]+'); do
    export GPU_$i=$uuid
    i=$((i+1))
done

criu restore --gpu-device-map=$GPU_0=$GPU_1,$GPU_1=$GPU_0,$GPU_2=$GPU_2,$GPU_3=$GPU_3

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2025-12-02 11:47:34 +00:00
..
amdgpu amdgpu: use 64-bit offsets for parallel restore 2025-11-16 07:44:37 -08:00
cuda criu: add support for --gpu-device-map 2025-12-02 11:47:34 +00:00