hv_vcpu_destroy

Function hv_vcpu_destroy 

Source
pub unsafe extern "C" fn hv_vcpu_destroy(
    vcpu: hv_vcpu_t,
) -> hv_return_t
Expand description

Destroys the vCPU instance associated with the current thread.

§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.