UTM currently supports NV only with the Apple Virtualization backend, not QEMU HVF. While M2 supports NV, it is not enabled by XNU kernel and `hv_vm_config_get_el2_supported` returns false. I heard there was some compatibility issue in the hardware. M3 and newer generations fully support NV in hardware and by XNU.
On Tue, Jul 15, 2025 at 4:51 AM Marc Zyngier <m...@kernel.org> wrote: > > On Tue, 15 Jul 2025 12:15:52 +0100, > Alex Bennée <alex.ben...@linaro.org> wrote: > > > - do we know which Apple silicon supports FEAT_NV2? > > M2 and latter definitely support FEAT_NV2. That's how KVM NV support > has been developed for two years until I was given better HW. > > Whether Apple supports NV on M2 in HVF, I have no idea. The rumour > mill says "no", but I don't have a way to check. The M3 I use at $WORK > is definitely able to give me EL2 without VHE with UTM. I haven't > played with M4, but I have it on the record that it behaves like M3 > with UTM. > > M. > > -- > Without deviation from the norm, progress is not possible.