The hostfs device is used in conjunction with a target OS module to allow the simulated machine to access the filesystem of the host machine. In order to work, the hostfs-device needs to be mapped into a specific location in the physical memory space. This address is target OS and architecture dependent.
conf_object, log_object, io_memory
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
info
– print information about the object
-
root
– get or set the hostfs root directory
-
status
– print status of the object
-
version
-
Optional attribute;
read/write access; type:
i
Simicsfs protocol version.
-
host_root
-
Optional attribute;
read/write access; type:
s
Host directory to use as root for the mounted file tree
-
mounted
-
Optional attribute;
read/write access; type:
b
True if simicsfs has been mounted on the target
hostfs