On 10.09.2024 12:09, Federico Serafini wrote:
> --- a/xen/arch/x86/x86_emulate/x86_emulate.c
> +++ b/xen/arch/x86/x86_emulate/x86_emulate.c
> @@ -6831,6 +6831,8 @@ x86_emulate(
> break;
> default:
> ASSERT_UNREACHABLE();
> + rc = X86EMUL_UNHANDLEABLE;
> + goto done;
> }
> break;
> #ifdef HAVE_AS_SSE4_2
> @@ -6859,6 +6861,8 @@ x86_emulate(
> # endif
> default:
> ASSERT_UNREACHABLE();
> + rc = X86EMUL_UNHANDLEABLE;
> + goto done;
> }
> break;
> #endif
"goto unhandleable" please in both cases, if already further goto-s are needed.
Jan