wireshark-stop write-reg
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

write-configuration

Synopsis

write-configuration file [-z|-u] [-save-raw|-save-craff] [-independent-checkpoint] ["comment"]

Description

Save simulation state to file. We refer to such saved state as a checkpoint. Simulation state can be restored later from a checkpoint with the read-configuration command.

Unless the -independent-checkpoint flag is specified, the simulation state is saved incrementally. This allows to save time and disk space but, as result, created checkpoints usually depend on the checkpoints which were created earlier as well as on the files (e.g., disk images) which were used when simulation objects were created. This means that care should be taken when deleting older checkpoints.

The -independent-checkpoint flag allows to save a completely independent checkpoint which can be freely moved around and will not need any files (e.g., checkpoints created earlier) for its use. Also, checkpoints created later will not depend on such checkpoint.

To add a description to the checkpoint, one can use the comment parameter. The comment is saved in the info file in the checkpoint bundle.

More information about checkpoints can be found in the Configuration and Checkpointing chapter in the Simics User's Guide manual.

The command flags described below allow to control some subtle aspects related to created checkpoints and are rarely needed.

The -save-raw flag tells Simics to store images in raw format. The -save-craff flag (default) tells Simics to store images in the craff format.

The -u flag tells Simics to store images in the uncompressed craff format.

Provided By

Simics Core

See Also

read-configuration, save-persistent-state, record-session
wireshark-stop write-reg