Alex Kolovsky

Configuring modules.toml

This file describes the modules of the microhypervisor.

The table that contains all the module entries is called mappings:

# modules.toml

[mappings]
# Configurations...

Module Configurations

The main configuration elements are module descriptions, which specify the paths for the primary and fallback (spare) modules.

The template for each entry is:

"module_name" = { path = "path_to_the_main_module", spare-module-path = "path_to_the_spare_module" }

Example:

# modules.toml

[mappings]
claim_guest = { path = "modules/claim_guest/target/wasm32-unknown-unknown/release/claim_guest.wasm" }
# Configurations...

This indicates that the claim_guest module is located at the modules/claim_guest/target/wasm32-unknown-unknown/release/claim_guest.wasm path.