Am 03.02.26 um 15:08 schrieb Dominik Csapak:
> I'm not a super fan of "sprinkling" `eq 'x86_64'` or similar throughout
> the code, but for the cases used here it's probably ok.
>
> If we encounter more such things though, I'd really like some
> more general lookup for arch -> values or something like this.
>
> even if it's just a 'supports_x' helper that has a hash
> like
> {
> x86_64 => 1,
> aarch64 => 0,
> xxx => yyy,
> }
> etc
>
> But as I wrote, for these use cases here probably ok, and
> definitely no blocker for now since that can be cleaned
> up whenever we see fit.
FWIW, this is also something I noticed, but I too found it OK
for the use case now. In the midterm it might be indeed nicer
to move those checks in local helpers like, e.g., a method named
arch_supports_hv_enlightment (and in there I would then care less
how it's checked), but again, not really a problem now.