hv_vm_unmap

Function hv_vm_unmap 

Source
pub unsafe extern "C" fn hv_vm_unmap(
    ipa: hv_ipa_t,
    size: usize,
) -> hv_return_t
Expand description

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

§Parameters

  • ipa: The address in the intermediate physical address space. It must be page-aligned.
  • size: The size of the region to unmap, in bytes. It must be a multiple of the page size.

§Return Value

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