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

Checkpoints: Add checkpointing infrastructure for devices #82

Closed
wants to merge 1 commit into from

Conversation

tomeroberts
Copy link
Contributor

  • Extend the JSON library slightly to support writing out JSON trees
  • Add support in riscv_machine to dump the PLIC state and virtio device state as a JSON that can be read back in to restore it
  • Not all device state is stored yet, but this is enough to boot linux, checkpoint, restore from the checkpoint and then use the virtio filesystem. Which is handy.

- Extend the JSON library slightly to support writing out JSON trees
- Add support in riscv_machine to dump the PLIC state and virtio
  device state as a JSON that can be read back in to restore it
- Not all device state is stored yet, but this is enough to boot
  linux, checkpoint, restore from the checkpoint and then use the
  virtio filesystem. Which is handy.
@et-tommythorn
Copy link
Collaborator

Neat! Pulled, thanks.

@tomeroberts tomeroberts deleted the device_cpt branch March 6, 2024 13:27
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.

2 participants