---
title: "hv_vm_config_get_ipa_granule(_:_:)"
framework: Hypervisor
role: symbol
role_heading: Function
platforms: [macOS 26.0+]
path: "hypervisor/hv_vm_config_get_ipa_granule(_:_:)"
---

# hv_vm_config_get_ipa_granule(_:_:)

## Declaration

```swift
func hv_vm_config_get_ipa_granule(_ config: hv_vm_config_t, _ granule: UnsafeMutablePointer<hv_ipa_granule_t>) -> hv_return_t
```

## Parameters

- `config`: Configuration.
- `granule`: Pointer to the currently configured granule size (written on success).

## Return Value

Return Value HV_SUCCESS on success, an error code otherwise.

## Discussion

Discussion Return the intermediate physical address granule size in virtual machine configuration.
