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

Add checkpoint-and-restore support for sysfs #2

Conversation

vijaydhanraj
Copy link
Contributor

@vijaydhanraj vijaydhanraj commented Sep 9, 2021

Description of the changes

This PR adds checkpoint-and-restore support for sysfs. It addresses issue 3 listed as part of gramineproject/graphene#2105

How to test this PR?

This PR depends on gramineproject/graphene#2661. Please apply these changes before trying out current PR.
Run sysfs_common and proc_common regression tests to validate the PR.


This change is Reviewable

This commit removes topology related stuff from `PAL_CONTROL`
struct and exposes it as a stand-alone struct to both PAL
and LibOS. Currently `PAL_CONTROL` is used a const ptr in
LibOS which prevents us from modifying the objects during
checkpoint-and-restore.

Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
@vijaydhanraj
Copy link
Contributor Author

Closing this and created a new PR, #110 which is rebased on top of #106.

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.

1 participant