Re: [PATCH V2] KVM: arm64: Implement vq_present() as a macro

From: Viresh Kumar
Date: Mon Jun 10 2019 - 05:55:06 EST


On 10-06-19, 10:09, Dave Martin wrote:
> You could drop the extra level of indirection on vqs now. The only
> thing it achieves is to enforce the size of the array via type-
> checkout, but the macro can't easily do that (unless you can think
> of another way to do it).
>
> Otherwise, looks good.

Below is what I wrote initially this morning and then moved to the
current version as I wasn't sure if you would want that :)

--
viresh

-------------------------8<-------------------------