Contents

hv_capability(_:_:)

Gets the value of capabilities of the system.

Declaration

func hv_capability(_ capability: hv_capability_t, _ value: UnsafeMutablePointer<UInt64>) -> hv_return_t

Parameters

  • capability:

    The capability to request.

  • value:

    The value for capability, on output.

Return Value

HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.

Discussion

Intel-based Mac only.

See Also

Virtual machine management