Cargo Features

[dependencies]
hyperlight-host = { version = "0.1.0", default-features = false, features = ["seccomp", "executable_heap", "print_debug", "dump_on_crash", "kvm", "mshv", "inprocess"] }
default = kvm, mshv, seccomp

These default features are set whenever hyperlight-host is added without default-features = false somewhere in the dependency tree.

seccomp default

Enables seccompiler

Affects signal_handlers::sigsys_signal_handler

function_call_metrics executable_heap
print_debug

This feature enables printing of debug information to stdout in debug builds

dump_on_crash

This feature enables dunping of the VMs details to a file when an unexpected or error exit occurs in a VM in debug mode the name of the file is output to stdout and logged.

Enables tempfile

kvm default

Enables kvm-bindings and kvm-ioctls

mshv default

Enables mshv-bindings =0.2.1 and mshv-ioctls =0.2.1

inprocess