Skip to content

hvf: arm: add experimental VHE (x-vhe) toggle

Mohamed Mediouni qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesIn review
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hvf: arm: advertise ID_AA64PFR0_EL1.GICtarget/arm/hvf/hvf.c+12 -02 replies
2/5hvf: arm: add experimental VHE toggleaccel/hvf/hvf-all.c include/system/hvf_int.h target/arm/hvf/hvf.c +1 more+96 -00 replies
3/5hvf: arm: advertise EL3 support when VHE is ontarget/arm/hvf/hvf.c+2 -00 replies
4/5hvf: arm: expose E2H0target/arm/hvf/hvf.c+1 -00 replies
5/5hvf: arm: ignore accesses to CNTKCTL_EL12target/arm/hvf/hvf.c+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(+)
Signature · 1 line
2.54.0 (Apple Git-156)