hv_vcpu_set_trap_debug_exceptions(_:_:)
Sets whether debug exceptions exit the guest.
Declaration
func hv_vcpu_set_trap_debug_exceptions(_ vcpu: hv_vcpu_t, _ value: Bool) -> hv_return_tParameters
- vcpu:
The instance of the vCPU.
- value:
A Boolean value that if
trueindicates debug exceptions in the guest trap to the host.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.
Discussion
The equivalent system register is MDCR_EL2.TDE.