---
title: VZVirtioFeatureSet
framework: virtualization
role: symbol
role_heading: Class
path: virtualization/vzvirtiofeatureset
---

# VZVirtioFeatureSet

Values that represent a set of Virtio feature bits.

## Declaration

```swift
class VZVirtioFeatureSet
```

## Overview

Overview A VZVirtioFeatureSet encapsulates the 64-bit Virtio feature set as two 32-bit subsets. The Virtio specification currently supports up to 64 feature bits, where subset0 represents bits 0 through 31 and subset1 represents bits 32 through 63. Don’t instantiate VZVirtioFeatureSet directly. It’s provided through the VZCustomVirtioDeviceConfiguration.mandatoryFeatures and VZCustomVirtioDeviceConfiguration.optionalFeatures properties.

## Topics

### Instance Properties

- [subset0](virtualization/vzvirtiofeatureset/subset0.md)
- [subset1](virtualization/vzvirtiofeatureset/subset1.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Related Documentation

- [VZNegotiatedVirtioFeatureSet](virtualization/vznegotiatedvirtiofeatureset.md)

### Specifying driver features

- [VZNegotiatedVirtioFeatureSet](virtualization/vznegotiatedvirtiofeatureset.md)
