Skip to content

RFC vmapple: making it work on the latest macOS host releases

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 RFC Latest10 patches 11 repliesIn review
  2. v7 RFC7 patches 6 repliesSuperseded
  3. v64 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v52 patches6 repliesSuperseded
v43 patches3 repliesSuperseded
v3 RFC4 patches0 repliesSuperseded

v6 from the cover letter

Rework the patches a bit, with making sure that there's no compiler warnings

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10target/arm/emulate: add ISV=0 emulation library with load/store immediatetarget/arm/emulate/a64-ldst.decode target/arm/emulate/arm_emulate.c target/arm/emulate/arm_emulate.h +2 more+405 -01 reply
2/10target/arm/emulate: add load/store register offsettarget/arm/emulate/a64-ldst.decode target/arm/emulate/arm_emulate.c+132 -00 replies
3/10target/arm/emulate: add load/store pairtarget/arm/emulate/a64-ldst.decode target/arm/emulate/arm_emulate.c+179 -01 reply
4/10target/arm/hvf, whpx: wire ISV=0 emulation for data abortstarget/arm/hvf/hvf.c target/arm/whpx/whpx-all.c+103 -41 reply
5/10vmapple: apple-gfx: make it work on the latest macOS releasehw/display/apple-gfx-mmio.m hw/display/apple-gfx.h hw/display/apple-gfx.m+138 -263 replies
6/10hw/vmapple: aes: convert MAX_LEN to a #definehw/vmapple/aes.c+2 -12 replies
7/10Revert "hw/arm: Do not build VMapple machine by default"configs/devices/aarch64-softmmu/default.mak+0 -10 replies
8/10vmapple: add gicv2mhw/vmapple/vmapple.c+24 -00 replies
9/10vmapple, gicv2m: add macOS compat quirkhw/intc/arm_gicv2m.c hw/vmapple/vmapple.c+6 -02 replies
10/10hw/vmapple: virtio-blk: allow FileVault offhw/vmapple/virtio-blk.c+18 -01 reply

Reviews trailers per patch

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

Read the v8 thread

Cover letter [RFC PATCH v8 00/10] vmapple: making it work on the latest macOS host releases

v8:

Refreshed for new macOS 27.

Now a standalone series.

Added new patch for newer macOS guests - to allow FileVault off.

v7:

Support for newer guest OSes.

Added not mergable patch for private ISA enablement.

Not grabbing a memory reference and still using flatview_for_each_range for this one, which works fine as live migration is disallowed anyway.

v6:
Rework the patches a bit, with making sure that there's no compiler warnings

v5:
Address review comments and rebase.

v4:
Rebase and resend without the RFC tag as I didn't get feedback.
Drop patch 1 (version I posted was incomplete anyways). Last patch isn't worth it too tbh.

v2->v3:
Remove the Apple M4 support workaround part for now, to be part of another patchset perhaps Address comments

v1->v2:
Remove some lines that shouldn't have been present...

Lucas Amaral (4):
target/arm/emulate: add ISV=0 emulation library with load/store
immediate
target/arm/emulate: add load/store register offset target/arm/emulate: add load/store pair target/arm/hvf, whpx: wire ISV=0 emulation for data aborts

Mohamed Mediouni (6):
vmapple: apple-gfx: make it work on the latest macOS release hw/vmapple: aes: convert MAX_LEN to a #define Revert "hw/arm: Do not build VMapple machine by default"
vmapple: add gicv2m
vmapple, gicv2m: add macOS compat quirk hw/vmapple: virtio-blk: allow FileVault off

 configs/devices/aarch64-softmmu/default.mak |   1 -
 hw/display/apple-gfx-mmio.m                 |  58 ++-
 hw/display/apple-gfx.h                      |  16 +
 hw/display/apple-gfx.m                      |  90 +++-
 hw/intc/arm_gicv2m.c                        |   5 +
 hw/vmapple/aes.c                            |   3 +-
 hw/vmapple/virtio-blk.c                     |  18 +
 hw/vmapple/vmapple.c                        |  25 ++
 target/arm/emulate/a64-ldst.decode          | 226 ++++++++++
 target/arm/emulate/arm_emulate.c            | 451 ++++++++++++++++++++
 target/arm/emulate/arm_emulate.h            |  30 ++
 target/arm/emulate/meson.build              |   8 +
 target/arm/hvf/hvf.c                        |  46 +-
 target/arm/meson.build                      |   1 +
 target/arm/whpx/whpx-all.c                  |  61 ++-
 15 files changed, 1007 insertions(+), 32 deletions(-)
 create mode 100644 target/arm/emulate/a64-ldst.decode
 create mode 100644 target/arm/emulate/arm_emulate.c
 create mode 100644 target/arm/emulate/arm_emulate.h
 create mode 100644 target/arm/emulate/meson.build
Signature · 1 line
2.54.0 (Apple Git-157)