Contents

hv_vcpu_flush(_:)

Flushes the cached state of a vCPU.

Declaration

func hv_vcpu_flush(_ vcpu: hv_vcpuid_t) -> hv_return_t

Parameters

  • vcpu:

    The instance of the vCPU.

Return Value

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

Discussion

This function must be called by the owning thread.

See Also

Runtime