---
title: Virtual Machine Control Structure (VMCS)
framework: Hypervisor
role: collectionGroup
role_heading: API Collection
path: hypervisor/virtual-machine-control-structure-vmcs
---

# Virtual Machine Control Structure (VMCS)

Read and write to fields of the virtual machine control structure.

## Topics

### Capabilities

- [hv_vmx_read_capability(_:_:)](hypervisor/hv_vmx_read_capability(_:_:).md)
- [hv_vmx_get_msr_info(_:_:)](hypervisor/hv_vmx_get_msr_info(_:_:).md)
- [hv_vmx_capability_t](hypervisor/hv_vmx_capability_t.md)
- [VMX Capabilities](hypervisor/1469645-vmx-capabilities.md)
- [hv_vmx_msr_info_t](hypervisor/hv_vmx_msr_info_t.md)
- [MSR Information Fields](hypervisor/3567084-msr-information-fields.md)

### Field management

- [Virtual Machine Control Structure (VMCS) Field IDs](hypervisor/virtual-machine-control-structure-vmcs-field-ids.md)
- [hv_vmx_vcpu_read_vmcs(_:_:_:)](hypervisor/hv_vmx_vcpu_read_vmcs(_:_:_:).md)
- [hv_vmx_vcpu_write_vmcs(_:_:_:)](hypervisor/hv_vmx_vcpu_write_vmcs(_:_:_:).md)
- [hv_vmx_vcpu_get_cap_write_vmcs(_:_:_:_:)](hypervisor/hv_vmx_vcpu_get_cap_write_vmcs(_:_:_:_:).md)
- [hv_vmx_vcpu_set_apic_address(_:_:)](hypervisor/hv_vmx_vcpu_set_apic_address(_:_:).md)
- [Virtual Machine control structure (VMCS) Field IDs](hypervisor/1469436-virtual_machine_control_structur-enum.md)

### Shadow fields

- [hv_vmx_vcpu_read_shadow_vmcs(_:_:_:)](hypervisor/hv_vmx_vcpu_read_shadow_vmcs(_:_:_:).md)
- [hv_vmx_vcpu_set_shadow_access(_:_:_:)](hypervisor/hv_vmx_vcpu_set_shadow_access(_:_:_:).md)
- [hv_vmx_vcpu_write_shadow_vmcs(_:_:_:)](hypervisor/hv_vmx_vcpu_write_shadow_vmcs(_:_:_:).md)
- [hv_shadow_flags_t](hypervisor/hv_shadow_flags_t.md)
- [Shadow Permissions](hypervisor/3567083-shadow_permissions-enum.md)

### Shared types

- [VMX Creation Behavior](hypervisor/1469509-vmx_creation_behavior-enum.md)
- [VMX Exit Reasons](hypervisor/1469470-vmx-exit-reasons.md)
- [Interrupt request (IRQ) codes](hypervisor/1469442-interrupt_request_irq_codes-enum.md)

## See Also

### Resource management

- [vCPU Management](hypervisor/intel-based_mac-vcpu-management.md)
- [Memory Management](hypervisor/intel-based_mac-memory-management.md)
