Re: [PATCH kvmtool v3 6/6] arm64: Generate HYP timer interrupt specifiers

Marc Zyngier
2025-08-04T18:15:13Z

On Mon, 04 Aug 2025 15:47:55 +0100,
Alexandru Elisei <alexandru.elisei@arm.com> wrote:
>
> KVM doesn't allow FEAT_VHE and FEAT_E2H0 to coexist (in
> nested.c::limit_nv_id_reg()), to force E2H to be RES0. Assuming my interpretion
> is correct, shouldn't the check be:
>
> if (!kvm->cfg.arch.nested_virt || kvm->cfg.arch.e2h0)
> nr--;
>

And yet KVM exposes that timer, irrespective of FEAT_VHE. Probably
something that should be addressed.

M.

--
Jazz isn't dead. It just smells funny.