<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZNVMExpressControllerDeviceConfiguration/init(attachment:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZNVMExpressControllerDeviceConfiguration(im)initWithAttachment:"
  },
  "title" : "init(attachment:)"
}
-->

# init(attachment:)

Creates a new NVM Express controller configuration with the storage device attachment you provide.

```
init(attachment: VZStorageDeviceAttachment)
```

## Parameters

`attachment`

The storage device attachment. This defines how the virtualized device operates on the host side.

## See Also

[`VZDiskImageStorageDeviceAttachment`](/documentation/Virtualization/VZDiskImageStorageDeviceAttachment)

A device that stores content in a disk image.



---

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)