On Wed, Oct 14, 2026 at 04:40:15PM +0900, Itaru Kitayama wrote:

> I’ve reproduced the set_id_regs failure under QEMU with kvm-arm.mode=nested 
> on 
> a host that supports AArch32. KVM advertises the NV-capable L1 vCPU as 
> AArch64-only, 
> but aa32_id_visibility() still permits the inner KVM to expose 
> ID_DFR0_EL1.CopDbg = 0xa 
> to the selftest vCPU. The test expects zero because it skips setting expected 
> values for AArch32 ID registers.

> In v6 you mentioned preferring an in-kernel solution. What did you have in 
> mind, 
> given that changing the value returned by GET_ONE_REG may affect the 
> userspace ABI?

I think the idea would be to force the 32 bit ID registers to 0 like we
already do for aarch64 only hosts.

Attachment: signature.asc
Description: PGP signature

Reply via email to