hv_vcpu_config_get_feature_reg(_:_:_:)
Gets the value of a feature register.
Declaration
func hv_vcpu_config_get_feature_reg(_ config: hv_vcpu_config_t, _ feature_reg: hv_feature_reg_t, _ value: UnsafeMutablePointer<UInt64>) -> hv_return_tParameters
- config:
The vCPU configuration.
- feature_reg:
The ID of the feature register.
- value:
The value of
feature_regon output. Undefined if the call doesn’t succeed.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.