<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZStorageDeviceAttachment",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZStorageDeviceAttachment"
  },
  "title" : "VZStorageDeviceAttachment"
}
-->

# VZStorageDeviceAttachment

The common behaviors for storage devices in the guest system.

```
class VZStorageDeviceAttachment
```

## Overview

A [`VZStorageDeviceAttachment`](/documentation/Virtualization/VZStorageDeviceAttachment) object defines the implementation of a storage interface in a virtual machine. You use the attachment object to specify the source of the storage on the host computer.

Don’t create [`VZStorageDeviceAttachment`](/documentation/Virtualization/VZStorageDeviceAttachment) objects directly. Instead, instantiate an appropriate subclass such as [`VZDiskImageStorageDeviceAttachment`](/documentation/Virtualization/VZDiskImageStorageDeviceAttachment), which provides storage using 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)