Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin/amdgpu: Also don't print 'plugin failed' in criu #2343

Merged

Conversation

Snorch
Copy link
Member

@Snorch Snorch commented Feb 5, 2024

We already don't treat it as error in the plugin itself, but after returning -1 from RESUME_DEVICES_LATE hook we print debug message in criu about failed plugin, let's return 0 instead.

While on it let's replace ret to exit_code.

Fixes: a9cbdad ("plugin/amdgpu: Don't print error for "No such process" during resume")

We already don't treat it as error in the plugin itself, but after
returning -1 from RESUME_DEVICES_LATE hook we print debug message in
criu about failed plugin, let's return 0 instead.

While on it let's replace ret to exit_code.

Fixes: a9cbdad ("plugin/amdgpu: Don't print error for "No such process" during resume")
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a9cbdad) 70.56% compared to head (d6e67c8) 70.48%.

❗ Current head d6e67c8 differs from pull request most recent head 12108c4. Consider uploading reports for the commit 12108c4 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           criu-dev    #2343      +/-   ##
============================================
- Coverage     70.56%   70.48%   -0.09%     
============================================
  Files           132      133       +1     
  Lines         33619    33452     -167     
============================================
- Hits          23723    23577     -146     
+ Misses         9896     9875      -21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@avagin avagin merged commit 639068e into checkpoint-restore:criu-dev Feb 5, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants