Re: [PATCH 3/3] KVM: arm64: Don't run a protected vCPU that was caught in AArch32
From: Fuad Tabba
Date: Wed Dec 02 2026 - 09:57:13 EST
Hi Marc,
On Wed, 02 Dec 2026 14:02:02 +0000, Marc Zyngier <maz@xxxxxxxxxx> wrote:
[...]
> This is yet another weird difference in behaviour that is visible from
> userspace. Also, once a vcpu is "unrunnable", the whole guest is
> pretty much dead (I can't see how it is going to recover from a vcpu
> being gone).
>
> I wonder if we should promote the "red-handed" behaviour to being a
> case of kvm_vm_dead(). This would solve all our problems once and for
> all.
I'll do that in v2, for both protected and non-protected vCPUs.
I'll also drop the first two patches, since KVM would no longer clear
VCPU_INITIALIZED on a vCPU that has run, unless you'd like to keep the
first one for stable.
> The other solution is of course to wipe AArch32 support altogether.
>
> M. (tempted...)
First nVHE, now AArch32. You're on a roll... off with their heads!
Cheers,
/fuad