Re: [PATCH v2 1/9] KVM: add kvm_{test,clear}_request to replace {test,clear}_bit

From: Andrew Jones
Date: Thu Apr 27 2017 - 07:33:28 EST


On Wed, Apr 26, 2017 at 10:32:19PM +0200, Radim KrÄmÃÅ wrote:
> Users were expected to use kvm_check_request() for testing and clearing,
> but request have expanded their use since then and some users want to
> only test or do a faster clear.
>
> Make sure that requests are not directly accessed with bit operations.

This isn't 100% accurate, as the set_bit changes are made in the next
patch.

>
> Reviewed-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> Signed-off-by: Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>

Otherwise
Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>