Re: [Patch v2 0/4] Common KVM exit reason test assertions and exit reason sync

From: Vipin Sharma
Date: Mon Mar 06 2023 - 13:42:32 EST


On Fri, Feb 3, 2023 at 5:45 PM Vipin Sharma <vipinsh@xxxxxxxxxx> wrote:
>
> Hi,
>
> This patch seris is extracted from
> https://lore.kernel.org/lkml/20221212183720.4062037-1-vipinsh@xxxxxxxxxx/
> series.
>
> Specifically, patch 12 is taken out from there and now expanded in to
> this series.
>
> This patch series contains following changes:
>
> Patch 1 & 2:
> Make a macro to clean up all KVM exit reason test assertion.
>
> There are few places where explicit run->exit_reason are used but they
> cannot be replaced with current macro.
>
> I used following command KVM selftests directory and changed each
> occurrence:
> grep "run->exit_reason" -nir ./
>
> Patch 3:
> This is from Sean Christopherson. Adding a macro to generate KVM
> exit strings.
>
> Patch 4:
> Sync KVM_EXIT_* reasons to sefltests. Many reasons are not present in
> selftest code.
>
> v2:
> - Improve test assert message.
> - Add macro to generate KVM_EXIT_* reason strings.
> - Update selftests KVM_EXIT_ reasons to latest version.
>
> v1: https://lore.kernel.org/lkml/20221212183720.4062037-13-vipinsh@xxxxxxxxxx/

Any update/feedback on this series?