VIRTUTECH CONFIDENTIAL Previous - Up - Next
hostfs
- Provided by
-
hostfs
- Class Hierarchy
-
conf-object → log-object → hostfs
- Interfaces Implemented
-
log_object, io_memory
- Description
-
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. Diskdumps from Virtutech already have the target OS module installed (where supported).
Attributes
- Attributes inherited from class conf-object
-
attributes, classname, component, iface, name, object_id, queue
- Attributes inherited from class log-object
-
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
- Attribute List
-
- big_endian
- Optional attribute; read/write access; type: b.
Set to TRUE if processor is accessing the device in big-endian mode.
- data_in
- Optional attribute; read/write access; type: Data.
1040 bytes receive buffer.
- data_out
- Optional attribute; read/write access; type: Data.
1040 bytes transmit buffer.
- datapos
- Optional attribute; read/write access; type: Integer.
position in data_out.
- files
- Optional attribute; read/write access; type: [[issiiiiiii]*].
(inode, file_name, path, type, flags, open_cnt, remove_write, actual_mode, seek_offset, fd)*
Various information on files currently accessed.
- hnode
- Optional attribute; read/write access; type: Integer.
host inode.
- host_func
- Optional attribute; read/write access; type: Integer.
function in progress (open, close, read, write, etc.).
- host_root
- Optional attribute; read/write access; type: String.
Host directory to use as root for the mounted file tree
- root
- Optional attribute; read/write access; type: Integer.
root inode.
- version
- Optional attribute; read/write access; type: Integer.
Simicsfs protocol version.
- write_state
- Optional attribute; read/write access; type: Integer.
device write state.
Command List
- Commands defined by interface log_object
-
log, log-group, log-level, log-size, log-type
- Commands
-
info | print information about the device |
root | set or show the hostfs root directory |
status | print status of the device |
Command Descriptions
-
<hostfs>.info
- Synopsis
-
<hostfs>.info
- Description
-
Print detailed information about the configuration of the device.
-
<hostfs>.root
- Synopsis
-
<hostfs>.root [dir]
- Description
-
Set the host directory that is visible to the simulated machine to
dir. If no directory is specified, the current root directory
is shown. Changes may not take effect until next the file system is
mounted.
-
<hostfs>.status
- Synopsis
-
<hostfs>.status
- Description
-
Print detailed information about the current status of the device.
VIRTUTECH CONFIDENTIAL Previous - Up - Next