Cargo Features

Microvmi has no features set by default.

[dependencies]
microvmi = { version = "0.3.14", features = ["xen", "kvm", "virtualbox", "mflow", "winapi", "widestring", "ntapi", "vid-sys"] }
xen = libc, xenctrl, xenevtchn, xenforeignmemory, xenstore-rs, xenvmevent-sys

Xen driver

Affects driver::xen

kvm = kvmi

KVM driver

Affects driver::kvm

virtualbox = fdp

VirtualBox driver

Affects driver::virtualbox

mflow = memflow

memflow driver
feature name is "mflow" to avoid conflict with the dependency

Affects driver::memflow

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

libc xen?
xenctrl xen?
xenstore-rs xen?

Enables xenstore-rs =0.3.2

xenforeignmemory xen?
xenevtchn xen?
xenvmevent-sys xen?
kvmi kvm?
fdp virtualbox?
winapi implicit feature

Enables winapi

winapi:

Raw FFI bindings for all of Windows API

widestring implicit feature

Enables widestring ^0.4

ntapi implicit feature

Enables ntapi ^0.3

ntapi:

FFI bindings for Native API

vid-sys implicit feature

Enables vid-sys

vid-sys:

Rust unsafe bindings for Vid API (Hyper-V)

memflow mflow?