Re: [PATCH] KVM: SEV: never retry after #NPF on paging structures
From: Sasha Levin
Date: Tue Nov 17 2026 - 15:08:23 EST
On Tue, Nov 17, 2026 at 07:59:22PM +0100, Paolo Bonzini wrote:
> + error_code = svm->vmcb->control.exit_info_1;
> + if (error_code & PFERR_GUEST_PAGE_MASK)
> + goto resume_guest;
The subject says "never retry", but resume_guest returns
X86EMUL_RETRY_INSTR, so this does retry: the guest is resumed and the
instruction runs again.
In your reply to my patch you had X86EMUL_UNHANDLEABLE here instead:
https://lore.kernel.org/r/7b4beea2-2bc9-44d8-be6a-ecfe678091dc@xxxxxxxxxx
Which one did you mean? If it's the retry, the subject probably wants to
say "never emulate".
--
Thanks,
Sasha