hv_vm_unmap(_:_:)
Unmaps a region in the guest physical address space of the VM.
Declaration
func hv_vm_unmap(_ ipa: hv_ipa_t, _ size: Int) -> hv_return_tParameters
- ipa:
The address in the intermediate physical address space. It must be page-aligned.
Apple silicon only.
- 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.
Discussion
Intel-based Mac computers have different parameters:
gpaThe address in the guest physical address space. It must be page-aligned.