Skip to content

RFC host: Support macOS 12

Philippe Mathieu-Daudé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest7 patches 16 repliesIn review
  2. v2 RFC6 patches 18 repliesSuperseded

Changes in v3 from the cover letter

- Addressed Akihiko Odaki comments:
. use __is_identifier(),
. remove cocoa setAllowedFileTypes()
- Addressed Daniel Berrangé comment:
. rebased on testing/next, update libvirt-ci/lcitool

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7configure: Allow passing extra Objective C compiler flagsconfigure meson.build+13 -04 replies
2/7ui/cocoa: Remove allowedFileTypes restriction in SavePanelui/cocoa.m+0 -61 reply
3/7hvf: Make hvf_get_segments() / hvf_put_segments() localtarget/i386/hvf/x86hvf.c target/i386/hvf/x86hvf.h+2 -41 reply
4/7hvf: Remove deprecated hv_vcpu_flush() callstarget/i386/hvf/vmx.h target/i386/hvf/x86_task.c target/i386/hvf/x86hvf.c+0 -51 reply
5/7audio/coreaudio: Remove a deprecation warning on macOS 12audio/coreaudio.c+10 -64 replies
6/7block/file-posix: Remove a deprecation warning on macOS 12block/file-posix.c+9 -41 reply
7/7gitlab-ci: Support macOS 12 via cirrus-run.gitlab-ci.d/cirrus.yml .gitlab-ci.d/cirrus/macos-12.vars tests/lcitool/libvirt-ci +1 more+33 -13 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchRoman Bolshakov
1/7
2/7R-b T-b
3/7R-b T-b
4/7R-b T-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [RFC PATCH v3 0/7] host: Support macOS 12

Few patches to be able to build QEMU on macOS 12 (Monterey).

This basically consists of adapting deprecated APIs. I am not sure about these APIs, so tagging as RFC.

I couldn't succeed to adapt the Cocoa code.

CI job added to avoid bitrotting.

Since v2:
- Addressed Akihiko Odaki comments:
. use __is_identifier(),
. remove cocoa setAllowedFileTypes()
- Addressed Daniel Berrangé comment:
. rebased on testing/next, update libvirt-ci/lcitool

Based on Alex's testing/next
Based-on: <[email protected]>

Philippe Mathieu-Daudé (7):
configure: Allow passing extra Objective C compiler flags ui/cocoa: Remove allowedFileTypes restriction in SavePanel
hvf: Make hvf_get_segments() / hvf_put_segments() local
hvf: Remove deprecated hv_vcpu_flush() calls audio/coreaudio: Remove a deprecation warning on macOS 12 block/file-posix: Remove a deprecation warning on macOS 12
gitlab-ci: Support macOS 12 via cirrus-run

 configure                         |  8 ++++++++
 meson.build                       |  5 +++++
 target/i386/hvf/vmx.h             |  2 --
 target/i386/hvf/x86hvf.h          |  2 --
 audio/coreaudio.c                 | 16 ++++++++++------
 block/file-posix.c                | 13 +++++++++----
 target/i386/hvf/x86_task.c        |  1 -
 target/i386/hvf/x86hvf.c          |  6 ++----
 .gitlab-ci.d/cirrus.yml           | 15 +++++++++++++++
 .gitlab-ci.d/cirrus/macos-12.vars | 16 ++++++++++++++++
 tests/lcitool/libvirt-ci          |  2 +-
 tests/lcitool/refresh             |  1 +
 ui/cocoa.m                        |  6 ------
 13 files changed, 67 insertions(+), 26 deletions(-)
 create mode 100644 .gitlab-ci.d/cirrus/macos-12.vars
Signature · 1 line
2.33.1