hv_vmx_vcpu_read_vmcs(_:_:_:)
Returns, by reference, the current value of a virtual machine control structure (VMCS) field of a vCPU.
Declaration
func hv_vmx_vcpu_read_vmcs(_ vcpu: hv_vcpuid_t, _ field: UInt32, _ value: UnsafeMutablePointer<UInt64>) -> hv_return_tParameters
- vcpu:
The ID of the vCPU.
- field:
The ID of the VMCS field. For a list of possible values, see Virtual Machine Control Structure Vmcs Field Ids.
- value:
The value from
field, on output.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.