Re: [EXTERNAL] [PATCH v2] KVM: Don't actually set a request when evicting vCPUs for GFN cache invd

From: David Woodhouse
Date: Thu Feb 24 2022 - 05:14:39 EST


On Wed, 2022-02-23 at 16:53 +0000, Sean Christopherson wrote:
> + /*
> + * Request that don't require vCPU action should never be logged in
> + * vcpu->requests. The vCPU won't clear the request, so it will stay
> + * logged indefinitely and prevent the vCPU from entering the guest.
> + */
> + BUILD_BUG_ON(!__builtin_constant_p(req) ||
> + (req & KVM_REQUEST_NO_ACTION));


Should KVM_REQ_UNHALT be one of these? Might have saved me a number of
hours of debugging the SCHEDOP_poll patch I'm about to repost...

Attachment: smime.p7s
Description: S/MIME cryptographic signature