GithubHelp home page GithubHelp logo

Comments (2)

asultan123 avatar asultan123 commented on August 15, 2024

I can't say I solved this one but since the issue is still open here, are my findings.
Regardless of how you snapshot via QEMU it hangs on loading a snapshot. I tried using CRIU to save the process of the QEMU Instance for both the microblaze and zynqmp instances + the SystemC side and that sort of works but for the particular kernel I was running it crashes on process reload. Unfortunately, my understanding of both QEMU and CRIU's internals isn't sophisticated enough to figure out why the kernel running in the QEMU instance crashes. The only concrete snapshotting mechanism I could get working was if I ran the qemu instance in a virtual machine but obviously that's a little bit naive. Reloading a snapshot in virtualbox takes as long as firing up a new QEMU instance so there's that. I'll eventually get back to this if I find something that makes snapshotting work. Till then, I hope this project isn't dead and someone from the dev team can help out.

from qemu.

ho28 avatar ho28 commented on August 15, 2024

Hi, I stumbled across this reported issue after finding out that creating and loading snapshots for simulated Versal on arm-generic-fdt machine also encounters the same problem.

I discovered that this is due to the way memory is created during the arm-generic-fdt machine's memory initialization routine (init_memory) that results in the ram not being registered with the vmstate save handler.

I believe this patch fixes the issue, please let me know if I should file a pull request.

0001-arm-generic-fdt-Save-RAM-during-snapshot.patch

from qemu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.