Re: [PATCH] KVM/x86: don't use a literal 1 instead of RET_PF_RETRY

From: Sean Christopherson
Date: Fri Nov 08 2024 - 13:44:38 EST


On Fri, Nov 08, 2024, Paolo Bonzini wrote:
> Queued, thanks.

Noooo! Can you un-queue?

The return from kvm_mmu_page_fault() is NOT RET_PF_xxx, it's KVM outer 0/1/-errno.
I.e. '1' is saying "resume the guest", it has *nothing* to do with RET_PF_RETRY.
E.g. that path also handles RET_PF_FIXED, RET_PF_SPURIOUS, etc.