Cargo Features

ahv has no features set by default.

[dependencies]
ahv = { version = "0.3.0", features = ["max", "macos_13_0_0", "macos_12_1_0"] }
default

The default feature activates nothing to ensure developers are aware of what they use. This means this crate supports Hypervisor from macOS 11.0.0
by default.

max = macos_13_0_0

Updated to the maximum version each time a new one is introduced

macos_13_0_0 max? = macos_12_1_0

Affects ffi::hv_vm_config_create, ffi::hv_vm_config_get_max_ipa_size, ffi::hv_vm_config_get_default_ipa_size, ffi::hv_vm_config_set_ipa_size, ffi::hv_vm_config_get_ipa_size

macos_12_1_0 macos_13_0_0?

Affects ffi::hv_vm_allocate, ffi::hv_vm_deallocate, types::hv_allocate_flags_t