Function simics::api::simulator::configuration::write_configuration_to_file
source · pub fn write_configuration_to_file<P>(file: P, flags: SaveFlags) -> Result<()>
Expand description
Save the current configuration to a file
Saves all objects to filename. Objects whose class_kind_t is equal to Sim_Class_Kind_Session or Sim_Class_Kind_Pseudo are not saved. This also holds for attributes (in all objects) of types Sim_Attr_Session and Sim_Attr_Pseudo.
The flags argument should be 0.
§Context
Global Context