Re: [PATCH] x86/fred: Fix early boot failures on SEV-ES/SNP guests
From: Xin Li
Date: Fri Feb 06 2026 - 04:38:28 EST
> On Feb 5, 2026, at 7:31 PM, Nikunj A. Dadhania <nikunj@xxxxxxx> wrote:
>
> if (user_mode(regs))
> return user_exc_vmm_communication(regs, error_code);
> else
> return kernel_exc_vmm_communication(regs, error_code);
Please rewrite this piece of code, like how X86_TRAP_DB is handled today.
Should kernel #VC be handled at a higher level RSP? You can check FRED #DB settings.