hv_vm_config_set_el2_enabled(_:_:)
Sets whether the specified VM configuration enables support for Exception Level 2 (EL2).
Declaration
func hv_vm_config_set_el2_enabled(_ config: hv_vm_config_t, _ el2_enabled: Bool) -> hv_return_tParameters
- config:
The VM’s configuration object
- el2_enabled:
A Boolean value that indicates whether the specified configure enables EL2. The framework writes this value on success; otherwise
nil.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.