hv_vmx_vcpu_set_shadow_access(_:_:_:)
Set the access permissions of a shadow VMCS field of a vCPU.
Declaration
func hv_vmx_vcpu_set_shadow_access(_ vcpu: hv_vcpuid_t, _ field: UInt32, _ flags: hv_shadow_flags_t) -> hv_return_tParameters
- vcpu:
The vCPU ID.
- field:
The ID of the shadow VMCS field.
- flags:
The new
READ,WRITEpermissions for the shadow VMCS field.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.