Cargo Features

[dependencies]
hyperlight-host = { version = "0.13.1", default-features = false, features = ["executable_heap", "print_debug", "crashdump", "trace_guest", "mem_profile", "kvm", "mshv3", "hw-interrupts", "gdb", "build-metadata", "nanvix-unstable", "fuzzing"] }
default = build-metadata, kvm, mshv3

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

function_call_metrics executable_heap
print_debug

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

crashdump

Dumps the VM state to a file on unexpected errors or crashes. The path of the file will be printed on stdout and logged.

Enables chrono and elfcore

trace_guest mem_profile?

Enables hyperlight-guest-tracing, opentelemetry, and tracing-opentelemetry, trace_guest of hyperlight-common

mem_profile = trace_guest

Enables fallible-iterator and framehop, mem_profile of hyperlight-common

kvm default

Enables kvm-bindings and kvm-ioctls

mshv3 default

Enables mshv-bindings and mshv-ioctls

hw-interrupts
gdb

This enables easy debug in the guest

Enables gdbstub and gdbstub_arch

build-metadata build default

Enables built

nanvix-unstable

Enables nanvix-unstable of hyperlight-common

Affects uninitialized::GuestCounter

fuzzing

Enables fuzzing of hyperlight-common