How to switch CPU models in gem5 after restoring a checkpoint and then observe the difference?

后端 未结 3 716

I want to boot the Linux kernel in full system (FS) mode with a lightweight CPU to save time, make a checkpoint after boot finishes, and then restore the checkpoint with a m

3条回答
  •  Happy的楠姐
    2020-12-22 10:25

    From reading through some of the code I believe that --restore-with-cpu is specifically for the case when your checkpoint was created using a CPU model that isn't the AtomicCPU. The scripts assume that AtomicCPU was used to create the checkpoint. I think when restoring it's important to have the same cpu model as the system was checkpointed with, if you give another model with --cpu-type then it switches to that model after the restore operation as completed.

    http://gem5.org/Checkpoints#Sampling has some (small) detail on switching cpu models

提交回复
热议问题