Hi Ryan,

Checkpointing is handled in the python configuration scripts. The configuration 
script should check the simulation exit cause and if it is "checkpoint" then it 
write the checkpoint. If you use fs.py this just works seamlessly. If you use 
your own python script than you had to add that support. You can find a simple 
example in the run() function in configs/example/arm/fs_bigLITTLE.py.

- Gabor

On 17/05/2018, 06:14, "gem5-dev on behalf of Ryan Wang" 
<[email protected] on behalf of [email protected]> wrote:

    Hi,
    the checkpoint is handled in sim/pseudo_inst.cc, which calls
    DistIface::readyToCkpt(). However, if I don't use DistIface for my
    simulated system, its master is NULL, therefore, this function does nothing
    and return true, which causes the guest just to exit.

    Should this be fixed?

    Thanks
    Ryan
    _______________________________________________
    gem5-dev mailing list
    [email protected]
    http://m5sim.org/mailman/listinfo/gem5-dev

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to