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 (ignoring the Objective C
deprecation warning).
Philippe Mathieu-Daudé (6):
configure: Allow passing extra Objective C compiler flags
audio/coreaudio: Remove a deprecation warning on macOS 12
block/file-posix: Remove a deprecation warning on macOS 12
hvf: Make hvf_get_segments() / hvf_put_segments() local
hvf: Remove deprecated hv_vcpu_flush() calls
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 | 16 ++++++++++++++++
.gitlab-ci.d/cirrus/macos-12.vars | 16 ++++++++++++++++
10 files changed, 66 insertions(+), 19 deletions(-)
create mode 100644 .gitlab-ci.d/cirrus/macos-12.vars
--
2.33.1