Contents

hv_vm_unmap_space(_:_:_:)

Umaps a region in a guest physical address space of the VM.

Declaration

func hv_vm_unmap_space(_ asid: hv_vm_space_t, _ gpa: hv_gpaddr_t, _ size: Int) -> hv_return_t

Parameters

  • asid:

    The Address space ID.

  • gpa:

    The page-aligned address in the guest physical address space.

  • size:

    The size in bytes of the region to unmap.

Return Value

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

See Also

Functions