In case the resulting binary is not signed with the proper entitlement, handle and report the HV_DENIED error.
Signed-off-by: Antonio Caggiano <quic_acagg...@quicinc.com> --- accel/hvf/hvf-all.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/accel/hvf/hvf-all.c b/accel/hvf/hvf-all.c index 0043f4d308..679907a147 100644 --- a/accel/hvf/hvf-all.c +++ b/accel/hvf/hvf-all.c @@ -38,6 +38,9 @@ void assert_hvf_ok(hv_return_t ret) case HV_UNSUPPORTED: error_report("Error: HV_UNSUPPORTED"); break; + case HV_DENIED: + error_report("Error: HV_DENIED"); + break; default: error_report("Unknown Error"); } -- 2.40.0