Module hermit::environment[][src]

Expand description

Determining and providing information about the environment (unikernel vs. multi-kernel, hypervisor, etc.) as well as central parsing of the command-line parameters.

Functions

get_base_address
get_cmdline
get_cmdsize
get_command_line_argv

Returns the cmdline argument passed in after “–”

get_command_line_cpu_frequency

CPU Frequency in MHz if given through the -freq command-line parameter, otherwise zero.

get_command_line_path

Returns the first cmdline argument, if not otherwise recognized. With qemu this is the host-path to the kernel (rusty-loader)

get_image_size
get_tls_filesz
get_tls_memsz
get_tls_start
init
is_proxy

Whether HermitCore shall communicate with the “proxy” application over a network interface. Only valid after calling init()!

is_single_kernel

Whether HermitCore is running alone (true) or side-by-side to Linux in Multi-Kernel mode (false).

is_uhyve

Whether HermitCore is running under the “uhyve” hypervisor.