Function

hv_vm_destroy()

Destroys the VM instance associated with the current task.

Declaration

func hv_vm_destroy() -> hv_return_t

Return Value

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

See Also

Creating and Destroying VM Instances

func hv_vm_create(hv_vm_options_t) -> hv_return_t

Creates a VM instance for the current task.