<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Hypervisor",
  "identifier" : "/documentation/Hypervisor/hv_vm_remove_pio_notifier(_:_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Hypervisor"
    ],
    "preciseIdentifier" : "c:@F@hv_vm_remove_pio_notifier"
  },
  "title" : "hv_vm_remove_pio_notifier(_:_:_:_:_:)"
}
-->

# hv_vm_remove_pio_notifier(_:_:_:_:_:)

Removes an existing I/O notifier that matches the specifications you provide.

```
func hv_vm_remove_pio_notifier(_ addr: UInt16, _ size: Int, _ value: UInt32, _ mach_port: mach_port_t, _ flags: hv_ion_flags_t) -> hv_return_t
```

## Parameters

`addr`

The port I/O address of the existing notifier.

`size`

The match-size from the existing notifier.

`value`

The value to match against from the existing notifier.

`mach_port`

The Mach port from the existing notifier.

`flags`

The [`hv_ion_flags_t`](/documentation/Hypervisor/hv_ion_flags_t) option flags from the existing notifier.

## Return Value

`0` on success, or an [`hv_return_t`](/documentation/Hypervisor/hv_return_t) error code.

## Discussion

The arguments you provide must match those previously used to add the notifier.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)