Re: [PATCH 5/5] KVM: selftests: Dedup subtests of fix_hypercall_test

From: Oliver Upton
Date: Mon Sep 19 2022 - 17:27:09 EST


On Thu, Sep 08, 2022 at 11:31:34PM +0000, Sean Christopherson wrote:
> Combine fix_hypercall_test's two subtests into a common routine, the only
> difference between the two is whether or not disable the quirk. Passing
> a boolean is a little gross, but using an enum to make it super obvious
> that the callers are enabling/disabling the quirk seems like overkill.
>

Eh, good 'nuff.

> No functional change intended.
>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

Reviewed-by: Oliver Upton <oliver.upton@xxxxxxxxx>

--
Thanks,
Oliver