qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] e910c7: configure: Allow passing extra Object


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] e910c7: configure: Allow passing extra Objective C compile...
Date: Tue, 15 Mar 2022 11:59:14 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: e910c7d9bf8e981bb1b7458c4793c5aedee98850
      
https://github.com/qemu/qemu/commit/e910c7d9bf8e981bb1b7458c4793c5aedee98850
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M configure
    M meson.build

  Log Message:
  -----------
  configure: Allow passing extra Objective C compiler flags

We can pass C/CPP/LD flags via CFLAGS/CXXFLAGS/LDFLAGS environment
variables, or via configure --extra-cflags / --extra-cxxflags /
--extra-ldflags options. Provide similar behavior for Objective C:
use existing flags from $OBJCFLAGS, or passed via --extra-objcflags.

Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 004900acbcde82d52d80404dea7f43ce5f8b78fb
      
https://github.com/qemu/qemu/commit/004900acbcde82d52d80404dea7f43ce5f8b78fb
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M tests/fp/meson.build

  Log Message:
  -----------
  tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives

Since we already use -Wno-unknown-pragmas, we can also use
-Wno-ignored-pragmas. This silences hundred of warnings using
clang 13 on macOS Monterey:

  [409/771] Compiling C object 
tests/fp/libtestfloat.a.p/berkeley-testfloat-3_source_test_az_f128_rx.c.o
  ../tests/fp/berkeley-testfloat-3/source/test_az_f128_rx.c:49:14: warning: 
'#pragma FENV_ACCESS' is not supported on this target - ignored 
[-Wignored-pragmas]
  #pragma STDC FENV_ACCESS ON
               ^
  1 warning generated.

Having:

  $ cc -v
  Apple clang version 13.0.0 (clang-1300.0.29.30)

Reported-by: Roman Bolshakov <roman@roolebo.dev>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 704afe34d8c4dbee3e88cfaa25c8561364169695
      
https://github.com/qemu/qemu/commit/704afe34d8c4dbee3e88cfaa25c8561364169695
  Author: Cameron Esfahani <dirty@apple.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M target/i386/hvf/vmx.h
    M target/i386/hvf/x86.c
    M target/i386/hvf/x86.h
    M target/i386/hvf/x86_mmu.c
    M target/i386/hvf/x86_task.c

  Log Message:
  -----------
  hvf: Use standard CR0 and CR4 register definitions

No need to have our own definitions of these registers.

Signed-off-by: Cameron Esfahani <dirty@apple.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 40eab4d95939c47f5bf6e664868c172090856244
      
https://github.com/qemu/qemu/commit/40eab4d95939c47f5bf6e664868c172090856244
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M target/i386/hvf/x86hvf.c
    M target/i386/hvf/x86hvf.h

  Log Message:
  -----------
  hvf: Make hvf_get_segments() / hvf_put_segments() local

Both hvf_get_segments/hvf_put_segments() functions are only
used within x86hvf.c: do not declare them as public API.

Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Tested-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 2e84d8521f596689d96e07ac377d2af1479774ba
      
https://github.com/qemu/qemu/commit/2e84d8521f596689d96e07ac377d2af1479774ba
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M target/i386/hvf/vmx.h
    M target/i386/hvf/x86_task.c
    M target/i386/hvf/x86hvf.c

  Log Message:
  -----------
  hvf: Remove deprecated hv_vcpu_flush() calls

When building on macOS 11 [*], we get:

  In file included from ../target/i386/hvf/hvf.c:59:
  ../target/i386/hvf/vmx.h:174:5: error: 'hv_vcpu_flush' is deprecated: first 
deprecated in macOS 11.0 - This API has no effect and always returns 
HV_UNSUPPORTED [-Werror,-Wdeprecated-declarations]
      hv_vcpu_flush(vcpu);
      ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Hypervisor.framework/Headers/hv.h:364:20:
 note: 'hv_vcpu_flush' has been explicitly marked deprecated here
  extern hv_return_t hv_vcpu_flush(hv_vcpuid_t vcpu)
                     ^

Since this call "has no effect", simply remove it ¯\_(ツ)_/¯

Not very useful deprecation doc:
https://developer.apple.com/documentation/hypervisor/1441386-hv_vcpu_flush

[*] Also 10.15 (Catalina):
    https://lore.kernel.org/qemu-devel/Yd3DmSqZ1SiJwd7P@roolebo.dev/

Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Tested-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: aa44d3f6b8d2f08f09034f287efec8890633cc38
      
https://github.com/qemu/qemu/commit/aa44d3f6b8d2f08f09034f287efec8890633cc38
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  block/file-posix: Remove a deprecation warning on macOS 12

When building on macOS 12 we get:

  block/file-posix.c:3335:18: warning: 'IOMasterPort' is deprecated: first 
deprecated in macOS 12.0 [-Wdeprecated-declarations]
      kernResult = IOMasterPort( MACH_PORT_NULL, &masterPort );
                   ^~~~~~~~~~~~
                   IOMainPort

Replace by IOMainPort, redefining it to IOMasterPort if not available.

Suggested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed by: Cameron Esfahani <dirty@apple.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 9f56bd6dab1a73362aefb7fe7bb8e364410d9d1e
      
https://github.com/qemu/qemu/commit/9f56bd6dab1a73362aefb7fe7bb8e364410d9d1e
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  audio/coreaudio: Remove a deprecation warning on macOS 12

When building on macOS 12 we get:

  audio/coreaudio.c:50:5: error: 'kAudioObjectPropertyElementMaster' is 
deprecated: first deprecated in macOS 12.0 [-Werror,-Wdeprecated-declarations]
      kAudioObjectPropertyElementMaster
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      kAudioObjectPropertyElementMain
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5:
 note: 'kAudioObjectPropertyElementMaster' has been explicitly marked 
deprecated here
      kAudioObjectPropertyElementMaster 
API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 
12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = 
kAudioObjectPropertyElementMain
      ^

Replace by kAudioObjectPropertyElementMain, redefining it to
kAudioObjectPropertyElementMaster if not available.

Suggested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Suggested-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Suggested-by: Roman Bolshakov <roman@roolebo.dev>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: c9c847481e70f2f5065605b6d21f7f8d72e54607
      
https://github.com/qemu/qemu/commit/c9c847481e70f2f5065605b6d21f7f8d72e54607
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M audio/meson.build

  Log Message:
  -----------
  audio/dbus: Fix building with modules on macOS

When configuring QEMU with --enable-modules we get on macOS:

  --- stderr ---
  Dependency ui-dbus cannot be satisfied

ui-dbus depends on pixman and opengl, so add these dependencies
to audio-dbus.

Fixes: 739362d420 ("audio: add "dbus" audio backend")
Reviewed-by: Li Zhang <lizhang@suse.de>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 8e30d39bade3010387177ca23dbc2244352ed4a3
      
https://github.com/qemu/qemu/commit/8e30d39bade3010387177ca23dbc2244352ed4a3
  Author: Akihiko Odaki <akihiko.odaki@gmail.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M audio/audio.c
    M audio/audio_template.h

  Log Message:
  -----------
  audio: Log context for audio bug

Without this change audio_bug aborts when the bug condition is met,
which discards following useful logs. Call abort after such logs.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220306063202.27331-1-akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 44ccb2dbe9047586e3fb94bb2ece222e112e5eaf
      
https://github.com/qemu/qemu/commit/44ccb2dbe9047586e3fb94bb2ece222e112e5eaf
  Author: Akihiko Odaki <akihiko.odaki@gmail.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  coreaudio: Always return 0 in handle_voice_change

handle_voice_change() is a CoreAudio callback function as of CoreAudio type
AudioObjectPropertyListenerProc, and for the latter MacOSX.sdk/System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h
says "The return value is currently unused and should always be 0.".

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220306123410.61063-1-akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 8b46d7e2dc8ec4b3515e43bc28ee77d9afab8b23
      
https://github.com/qemu/qemu/commit/8b46d7e2dc8ec4b3515e43bc28ee77d9afab8b23
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    R audio/coreaudio.c
    A audio/coreaudio.m
    M audio/meson.build

  Log Message:
  -----------
  audio: Rename coreaudio extension to use Objective-C compiler

The coreaudio library includes Objective-C declarations (using the
caret '^' symbol to declare block references [*]). When building
with a C compiler we get:

  [175/839] Compiling C object libcommon.fa.p/audio_coreaudio.c.o
    In file included from 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h:18,
                     from ../../audio/coreaudio.c:26:
    
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:162:2:
 error: expected identifier or '(' before '^' token
      162 | (^AudioObjectPropertyListenerBlock)(    UInt32                      
        inNumberAddresses,
          |  ^
    FAILED: libcommon.fa.p/audio_coreaudio.c.o

Rename the file to use the Objective-C default extension (.m) so
meson calls the correct compiler.

[*] 
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithBlocks/WorkingwithBlocks.html

Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 98f5ebfd21b144fb70b02df3e419dec0ee2a52a8
      
https://github.com/qemu/qemu/commit/98f5ebfd21b144fb70b02df3e419dec0ee2a52a8
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M include/qemu/osdep.h

  Log Message:
  -----------
  osdep: Avoid using Clang-specific __builtin_available()

Remove the Clang specific __builtin_available() to allow building
with GCC, otherwise we get:

  include/qemu/osdep.h: In function 'qemu_thread_jit_write':
  include/qemu/osdep.h:787:9: warning: implicit declaration of function 
'__builtin_available'; did you mean '__builtin_scalbl'? 
[-Wimplicit-function-declaration]
    787 |     if (__builtin_available(macOS 11.0, *)) {
        |         ^~~~~~~~~~~~~~~~~~~
        |         __builtin_scalbl
  include/qemu/osdep.h:787:9: warning: nested extern declaration of 
'__builtin_available' [-Wnested-externs]
  include/qemu/osdep.h:787:29: error: 'macOS' undeclared (first use in this 
function)
    787 |     if (__builtin_available(macOS 11.0, *)) {
        |                             ^~~~~
  include/qemu/osdep.h:787:29: note: each undeclared identifier is reported 
only once for each function it appears in
  include/qemu/osdep.h:787:34: error: expected ')' before numeric constant
    787 |     if (__builtin_available(macOS 11.0, *)) {
        |                            ~     ^~~~~
        |                                  )

Beside, on macOS Catalina we get 2254 times:

  include/qemu/osdep.h:780:5: warning: 'pthread_jit_write_protect_np' is only 
available on macOS 11.0 or newer [-Wunguarded-availability-new]
      pthread_jit_write_protect_np(true);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix by using a stricker toolchain version low range, replacing
MAC_OS_X_VERSION_MAX_ALLOWED by MAC_OS_X_VERSION_MIN_REQUIRED.

Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 30cfa50da53f60283e2e7f3bf0856189a06bb952
      
https://github.com/qemu/qemu/commit/30cfa50da53f60283e2e7f3bf0856189a06bb952
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: Resolve the entitlement.sh script once for good

Commit 235b523dba ("meson: Use find_program() to resolve the
entitlement.sh script") didn't correctly fixed the issue, as
the script is still resolved for each target. Move the check
earlier, before processing each target.

Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: cf3ab8fe9e2360eace4c84b6779e0ab69516ae7e
      
https://github.com/qemu/qemu/commit/cf3ab8fe9e2360eace4c84b6779e0ab69516ae7e
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: Log QEMU_CXXFLAGS content in summary

Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 4cb37d1192e112159e3f8cb13de98a09fef502fa
      
https://github.com/qemu/qemu/commit/4cb37d1192e112159e3f8cb13de98a09fef502fa
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M configure
    M meson.build

  Log Message:
  -----------
  configure: Pass filtered QEMU_OBJCFLAGS to meson

Filter unsupported Objective-C options, to avoid
'unknown-warning-option' warnings when using Clang:

  [34/373] Compiling Objective-C object libcommon.fa.p/audio_coreaudio.m.o
  warning: unknown warning option '-Wold-style-declaration'; did you mean 
'-Wout-of-line-declaration'? [-Wunknown-warning-option]
  warning: unknown warning option '-Wimplicit-fallthrough=2'; did you mean 
'-Wimplicit-fallthrough'? [-Wunknown-warning-option]
  2 warnings generated.

Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 9459262dc4218110f4d3c5dce0b4fe43e1faffdb
      
https://github.com/qemu/qemu/commit/9459262dc4218110f4d3c5dce0b4fe43e1faffdb
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  ui/cocoa: Constify qkeycode translation arrays

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 48941a52c2c3350b0c3dcdc1aba702def91d19a8
      
https://github.com/qemu/qemu/commit/48941a52c2c3350b0c3dcdc1aba702def91d19a8
  Author: Carwyn Ellis <carwynellis@gmail.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M qapi/ui.json
    M qemu-options.hx
    M ui/cocoa.m

  Log Message:
  -----------
  ui/cocoa: add option to disable left-command forwarding to guest

When switching between guest and host on a Mac using command-tab the
command key is sent to the guest which can trigger functionality in the
guest OS. Specifying left-command-key=off disables forwarding this key
to the guest. Defaults to enabled.

Also updated the cocoa display documentation to reference the new
left-command-key option along with the existing show-cursor option.

Signed-off-by: Carwyn Ellis <carwynellis@gmail.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
[PMD: Set QAPI structure @since tag to 7.0]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 69221df8cde644ce75053986b712c40a2a83966a
      
https://github.com/qemu/qemu/commit/69221df8cde644ce75053986b712c40a2a83966a
  Author: Carwyn Ellis <carwynellis@gmail.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  ui/cocoa: release mouse when user switches away from QEMU window

This resolves an issue where using command-tab to switch between QEMU
and other windows on the host can leave the mouse pointer visible.

By releasing the mouse when the user switches away, the user must left
click on the QEMU window when switching back in order to hide the
pointer and return control to the guest.

This appraoch ensures that the calls to NSCursor hide and unhide are
always balanced and thus work correctly when invoked.

Signed-off-by: Carwyn Ellis <carwynellis@gmail.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: f844cdb997144a3fd83d7d18e32365fc6a1a8a1f
      
https://github.com/qemu/qemu/commit/f844cdb997144a3fd83d7d18e32365fc6a1a8a1f
  Author: Gustavo Noronha Silva <gustavo@noronha.dev.br>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M qapi/ui.json
    M qemu-options.hx
    M ui/cocoa.m

  Log Message:
  -----------
  ui/cocoa: capture all keys and combos when mouse is grabbed

Applications such as Gnome may use Alt-Tab and Super-Tab for different
purposes, some use Ctrl-arrows so we want to allow qemu to handle
everything when it captures the mouse/keyboard.

However, Mac OS handles some combos like Command-Tab and Ctrl-arrows
at an earlier part of the event handling chain, not letting qemu see it.

We add a global Event Tap that allows qemu to see all events when the
mouse is grabbed. Note that this requires additional permissions.

See:

https://developer.apple.com/documentation/coregraphics/1454426-cgeventtapcreate?language=objc#discussion
https://support.apple.com/en-in/guide/mac-help/mh32356/mac

Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gustavo Noronha Silva <gustavo@noronha.dev.br>
Message-Id: <20210713213200.2547-2-gustavo@noronha.dev.br>
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20220306121119.45631-2-akihiko.odaki@gmail.com>
Reviewed-by: Will Cohen <wwcohen@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 4797adce5f0b7542c5aa4a83bdce7f0e63d6deae
      
https://github.com/qemu/qemu/commit/4797adce5f0b7542c5aa4a83bdce7f0e63d6deae
  Author: Gustavo Noronha Silva <gustavo@noronha.dev.br>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M qapi/ui.json
    M qemu-options.hx
    M ui/cocoa.m

  Log Message:
  -----------
  ui/cocoa: add option to swap Option and Command

On Mac OS X the Option key maps to Alt and Command to Super/Meta. This change
swaps them around so that Alt is the key closer to the space bar and Meta/Super
is between Control and Alt, like on non-Mac keyboards.

It is a cocoa display option, disabled by default.

Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gustavo Noronha Silva <gustavo@noronha.dev.br>
Message-Id: <20210713213200.2547-3-gustavo@noronha.dev.br>
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20220306121119.45631-3-akihiko.odaki@gmail.com>
Reviewed-by: Will Cohen <wwcohen@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: c82b7ef16f3efa59e28f821f25a9c084ef84ea9d
      
https://github.com/qemu/qemu/commit/c82b7ef16f3efa59e28f821f25a9c084ef84ea9d
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Volunteer to maintain Darwin-based hosts support

While I am not an experienced Darwin OS user, I now have to
use a macOS based workstation and alike CI, meaning I should
easily spot regressions and test fixes. I therefore volunteer
to collect Darwin related patches and keep QEMU in good state
on macOS, and to some extent iOS.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Christian Schoenebeck <qemu_oss@crudebyte.com>
Cc: Akihiko Odaki <akihiko.odaki@gmail.com>
Cc: Joelle van Dyne <j@getutm.app>
Cc: Daniel P. Berrangé <berrange@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 22a3a45ade8d331f3c318afeb0374c94129e55b4
      
https://github.com/qemu/qemu/commit/22a3a45ade8d331f3c318afeb0374c94129e55b4
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M MAINTAINERS
    M audio/audio.c
    M audio/audio_template.h
    R audio/coreaudio.c
    A audio/coreaudio.m
    M audio/meson.build
    M block/file-posix.c
    M configure
    M include/qemu/osdep.h
    M meson.build
    M qapi/ui.json
    M qemu-options.hx
    M target/i386/hvf/vmx.h
    M target/i386/hvf/x86.c
    M target/i386/hvf/x86.h
    M target/i386/hvf/x86_mmu.c
    M target/i386/hvf/x86_task.c
    M target/i386/hvf/x86hvf.c
    M target/i386/hvf/x86hvf.h
    M tests/fp/meson.build
    M ui/cocoa.m

  Log Message:
  -----------
  Merge tag 'darwin-20220315' of https://github.com/philmd/qemu into staging

Darwin-based host patches

- Remove various build warnings
- Fix building with modules on macOS
- Fix mouse/keyboard GUI interactions

# gpg: Signature made Tue 15 Mar 2022 12:52:19 GMT
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" 
[unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'darwin-20220315' of https://github.com/philmd/qemu: (21 commits)
  MAINTAINERS: Volunteer to maintain Darwin-based hosts support
  ui/cocoa: add option to swap Option and Command
  ui/cocoa: capture all keys and combos when mouse is grabbed
  ui/cocoa: release mouse when user switches away from QEMU window
  ui/cocoa: add option to disable left-command forwarding to guest
  ui/cocoa: Constify qkeycode translation arrays
  configure: Pass filtered QEMU_OBJCFLAGS to meson
  meson: Log QEMU_CXXFLAGS content in summary
  meson: Resolve the entitlement.sh script once for good
  osdep: Avoid using Clang-specific __builtin_available()
  audio: Rename coreaudio extension to use Objective-C compiler
  coreaudio: Always return 0 in handle_voice_change
  audio: Log context for audio bug
  audio/dbus: Fix building with modules on macOS
  audio/coreaudio: Remove a deprecation warning on macOS 12
  block/file-posix: Remove a deprecation warning on macOS 12
  hvf: Remove deprecated hv_vcpu_flush() calls
  hvf: Make hvf_get_segments() / hvf_put_segments() local
  hvf: Use standard CR0 and CR4 register definitions
  tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/936d98600b03...22a3a45ade8d



reply via email to

[Prev in Thread] Current Thread [Next in Thread]