hv_vmx_vcpu_write_shadow_vmcs(_:_:_:)
Set the value of a shadow VMCS field of a vCPU.
Declaration
func hv_vmx_vcpu_write_shadow_vmcs(_ vcpu: hv_vcpuid_t, _ field: UInt32, _ value: UInt64) -> hv_return_tParameters
- vcpu:
The vCPU ID.
- field:
The ID of the shadow VMCS field to write.
- value:
The value of the shadow VMCS field to write.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.