Few patches to be able to build QEMU on macOS 12 (Monterey). This basically consists of adapting deprecated APIs.
CI job added to avoid bitrotting. Since v3: - Fix --enable-modules - Ignore #pragma on softfloat3 tests - Addressed Akihiko Odaki comments - Include Cameron Esfahani patches 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 Cameron Esfahani (3): hvf: Use standard CR0 and CR4 register definitions hvf: Fix OOB write in RDTSCP instruction decode hvf: Enable RDTSCP support Philippe Mathieu-Daudé (10): lcitool: refresh configure: Allow passing extra Objective C compiler flags tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives hvf: Make hvf_get_segments() / hvf_put_segments() local hvf: Remove deprecated hv_vcpu_flush() calls block/file-posix: Remove a deprecation warning on macOS 12 audio/coreaudio: Remove a deprecation warning on macOS 12 audio/dbus: Fix building with modules on macOS ui/cocoa: Remove allowedFileTypes restriction in SavePanel gitlab-ci: Support macOS 12 via cirrus-run .gitlab-ci.d/cirrus.yml | 16 ++++++++++ .gitlab-ci.d/cirrus/macos-12.vars | 16 ++++++++++ audio/coreaudio.c | 17 +++++++---- audio/meson.build | 2 +- block/file-posix.c | 14 ++++++--- configure | 8 +++++ meson.build | 5 ++++ target/i386/hvf/hvf.c | 26 +++++++++++------ target/i386/hvf/vmcs.h | 3 +- target/i386/hvf/vmx.h | 19 ++++++------ target/i386/hvf/x86.c | 6 ++-- target/i386/hvf/x86.h | 34 ---------------------- target/i386/hvf/x86_cpuid.c | 7 +++-- target/i386/hvf/x86_decode.c | 11 +++++-- target/i386/hvf/x86_mmu.c | 2 +- target/i386/hvf/x86_task.c | 4 +-- target/i386/hvf/x86hvf.c | 14 ++++++--- target/i386/hvf/x86hvf.h | 3 +- tests/docker/dockerfiles/ubuntu1804.docker | 2 -- tests/docker/dockerfiles/ubuntu2004.docker | 2 -- tests/fp/meson.build | 1 + tests/lcitool/refresh | 1 + ui/cocoa.m | 6 ---- 23 files changed, 127 insertions(+), 92 deletions(-) create mode 100644 .gitlab-ci.d/cirrus/macos-12.vars -- 2.34.1