On 9/3/26 14:32, Mohamed Mediouni wrote:


On 9. Mar 2026, at 14:20, Peter Maydell <[email protected]> wrote:

On Sat, 7 Mar 2026 at 18:03, Mohamed Mediouni <[email protected]> wrote:

Link to branch: https://github.com/mediouni-m/qemu hvf-irqchip-and-nested
(tag for this submission: hvf-irqchip-and-nested-v19)

This series adds support for nested virtualisation when using HVF on arm64 Macs.

The first two patches are from the SME enablement series and are present for the
series to be buildable on its own.

It has two parts:
- Apple vGICv3 support and necessary infrastructure changes for it
- Nested virtualisation support. Note that the nested virtualisation 
implementation
shipping as of macOS 26.3 is nVHE only (but it _does_ use VNCR as shipped).

This series doesn't contain EL2 physical timer emulation, which is
needed if not leveraging the Apple vGIC. As such, nested virt requires 
kernel-irqchip=on.

Hi; I think at this point this series has unfortunately missed the
softfreeze deadline for 11.0, and we should be aiming to get it in
for early in the 11.1 cycle. I will keep it on my list to apply then.

Hello,

That’s quite unfortunate :/ Too close to the softfreeze tomorrow I guess?

Thank you though, think we got quite close to it with even an attempt of a pull 
before
last-minute issues resulted in it not getting quite there. Hopefully future 
series will go more smoothly
than my first ones :)

While we mentioned to our users that HVF/ARM is "supported" in our
documentation (commit 16595bcd0e2 "docs: Document that hvf on Arm
is supported"), it isn't "supported" by maintainers as in the
MAINTAINERS definitions:

           Supported:   Someone is actually paid to look after this.
           Maintained:  Someone actually looks after it.

It is marked as "maintained", thus developers caring are not paid to
do so (commit a1477da3dde "hvf: Add Apple Silicon support"). So it
is hard to follow / review / merge all the patches mailing list traffic.

If we want to consider it as first tier class accelerator, we should
at least improve our CI testing harness.

I started few series / patches around it, but quickly got overflowed:

- tests/qtest/migration: Update framework to allow using HVF accelerator
https://lore.kernel.org/qemu-devel/[email protected]/

- split/arm: Run EL2 using TCG and EL1/EL0 in hardware with HVF
https://lore.kernel.org/qemu-devel/[email protected]/

Some files already test nested guests and could be expanded:

$ git grep -li nested tests/functional/aarch64/
tests/functional/aarch64/test_device_passthrough.py
tests/functional/aarch64/test_kvm.py
tests/functional/aarch64/test_rme_sbsaref.py
tests/functional/aarch64/test_rme_virt.py

Regards,

Phil.


Thank you,
-Mohamed

thanks
-- PMM



Reply via email to