[PATCH v2 0/5] hvf: arm: add experimental VHE (x-vhe) toggle

Mohamed Mediouni posted 5 patches 3 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260904043742.96613-1-mohamed@unpredictable.fr
Maintainers: Roman Bolshakov <rbolshakov@ddn.com>, Phil Dennis-Jordan <phil@philjordan.eu>, Alexander Graf <agraf@csgraf.de>, Peter Maydell <peter.maydell@linaro.org>
accel/hvf/hvf-all.c      |   2 +
include/system/hvf_int.h |   1 +
target/arm/hvf/hvf.c     | 114 +++++++++++++++++++++++++++++++++++++++
target/i386/hvf/hvf.c    |   4 ++
4 files changed, 121 insertions(+)
[PATCH v2 0/5] hvf: arm: add experimental VHE (x-vhe) toggle
Posted by Mohamed Mediouni 3 weeks, 1 day ago
macOS 27.0 has a pre-release VHE implementation. Add support for it in QEMU.

The first patch in the series is an independent bugfix that should be backported to QEMU 11.1 too.

v2:

Add:
hvf: arm: expose E2H0
hvf: arm: ignore accesses to CNTKCTL_EL12

This is to have working KVM under the VHE configuration.

Mohamed Mediouni (5):
  hvf: arm: advertise ID_AA64PFR0_EL1.GIC
  hvf: arm: add experimental VHE toggle
  hvf: arm: advertise EL3 support when VHE is on
  hvf: arm: expose E2H0
  hvf: arm: ignore accesses to CNTKCTL_EL12

 accel/hvf/hvf-all.c      |   2 +
 include/system/hvf_int.h |   1 +
 target/arm/hvf/hvf.c     | 114 +++++++++++++++++++++++++++++++++++++++
 target/i386/hvf/hvf.c    |   4 ++
 4 files changed, 121 insertions(+)

-- 
2.54.0 (Apple Git-156)