Most tutorials in this section requires a qsp-x86/firststeps target machine
where Linux has reached the login prompt, and that the simulation is stopped.
If the checkpoint target-booted.ckpt has been created (see the
checkpoints section), it is possible to save time
and launch the simulator directly from this checkpoint (Alt 1), otherwise
start the qsp-x86/firststeps target (Alt 2).
Alt 1 - use the ‘target-booted.ckpt’ checkpoint if this is available (see the checkpoints section)
$ ./simics target-booted.ckpt
Alt 2 - launch the simulator with the qsp-x86/firststeps target and run until Linux prompt. For this, we use the target parameter machine:software:simics:stop_after_login which allows stopping the simulation after Linux has booted and user has been logged in.
$ ./simics qsp-x86/firststeps machine:software:simics:stop_after_login=TRUE
simics> run
running>
...
running> stop # after seeing login prompt
simics> write-configuration "target-booted.ckpt"
After stopping, write a checkpoint target-booted.ckpt, and use Alt 1 for later steps in the tutorial
to avoid having to wait for Linux to boot.
After having followed the above preparation steps, Linux should have booted and the simulator should have stopped.