Cargo Features

[dependencies]
vfio-ioctls = { version = "0.4.0", default-features = false, features = ["kvm", "mshv"] }
default = kvm

The kvm feature is set by default whenever vfio-ioctls is added without default-features = false somewhere in the dependency tree.

kvm default = kvm-bindings, kvm-ioctls
mshv = mshv-bindings, mshv-ioctls

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.

kvm-bindings kvm

Enables kvm-bindings ^0.10.0

kvm-ioctls kvm

Enables kvm-ioctls ^0.19.0

mshv-bindings mshv?
mshv-ioctls mshv?