<!--
{
  "documentType" : "article",
  "framework" : "Hypervisor",
  "identifier" : "/documentation/Hypervisor/1447317-vcpu-creation-behavior",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "vCPU Creation Behavior"
}
-->

# vCPU Creation Behavior

An enumeration representing the default creation options for virtual CPUs.

## Topics

### Constants

[`var HV_VCPU_DEFAULT: Int`](/documentation/Hypervisor/HV_VCPU_DEFAULT)

The default vCPU creation behavior.

[`var HV_VCPU_ACCEL_RDPMC: Int`](/documentation/Hypervisor/HV_VCPU_ACCEL_RDPMC)

Instructs the kernel, when set, to handle RDPMC VM exits directly rather than passing them to user space.

[`var HV_VCPU_TSC_RELATIVE: Int`](/documentation/Hypervisor/HV_VCPU_TSC_RELATIVE)

The value that represents the relative offset the system should add to the hypervisor TSC clock.



---

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)