qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Drop ifdef for macOS versions older than 12.0
@ 2024-06-29  6:24 Akihiko Odaki
  2024-06-29  6:24 ` [PATCH 1/4] hvf: " Akihiko Odaki
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Akihiko Odaki @ 2024-06-29  6:24 UTC (permalink / raw)
  To: Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block, Akihiko Odaki

macOS versions older than 12.0 are no longer supported.

docs/about/build-platforms.rst says:
> Support for the previous major version will be dropped 2 years after
> the new major version is released or when the vendor itself drops
> support, whichever comes first.

macOS 12.0 was released 2021:
https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
Akihiko Odaki (4):
      hvf: Drop ifdef for macOS versions older than 12.0
      audio: Drop ifdef for macOS versions older than 12.0
      block/file-posix: Drop ifdef for macOS versions older than 12.0
      net/vmnet: Drop ifdef for macOS versions older than 12.0

 accel/hvf/hvf-all.c   |  3 ---
 block/file-posix.c    |  5 -----
 net/vmnet-host.c      | 24 +-----------------------
 net/vmnet-shared.c    | 13 -------------
 target/i386/hvf/hvf.c | 23 +----------------------
 audio/coreaudio.m     |  5 -----
 net/vmnet-bridged.m   | 13 +------------
 net/vmnet-common.m    |  3 ---
 8 files changed, 3 insertions(+), 86 deletions(-)
---
base-commit: 046a64b9801343e2e89eef10c7a48eec8d8c0d4f
change-id: 20240628-macos-d194d420f01a

Best regards,
-- 
Akihiko Odaki <akihiko.odaki@daynix.com>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 1/4] hvf: Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 [PATCH 0/4] Drop ifdef for macOS versions older than 12.0 Akihiko Odaki
@ 2024-06-29  6:24 ` Akihiko Odaki
  2024-07-01 15:21   ` Philippe Mathieu-Daudé
  2024-06-29  6:24 ` [PATCH 2/4] audio: " Akihiko Odaki
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 14+ messages in thread
From: Akihiko Odaki @ 2024-06-29  6:24 UTC (permalink / raw)
  To: Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block, Akihiko Odaki

macOS versions older than 12.0 are no longer supported.

docs/about/build-platforms.rst says:
> Support for the previous major version will be dropped 2 years after
> the new major version is released or when the vendor itself drops
> support, whichever comes first.

macOS 12.0 was released 2021:
https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 accel/hvf/hvf-all.c   |  3 ---
 target/i386/hvf/hvf.c | 23 +----------------------
 2 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/accel/hvf/hvf-all.c b/accel/hvf/hvf-all.c
index c008dc2f1ea6..6ca0850b20ed 100644
--- a/accel/hvf/hvf-all.c
+++ b/accel/hvf/hvf-all.c
@@ -23,10 +23,7 @@ const char *hvf_return_string(hv_return_t ret)
     case HV_NO_RESOURCES: return "HV_NO_RESOURCES";
     case HV_NO_DEVICE:    return "HV_NO_DEVICE";
     case HV_UNSUPPORTED:  return "HV_UNSUPPORTED";
-#if defined(MAC_OS_VERSION_11_0) && \
-    MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_11_0
     case HV_DENIED:       return "HV_DENIED";
-#endif
     default:              return "[unknown hv_return value]";
     }
 }
diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c
index 2d0eef6cd977..c9c64e29781d 100644
--- a/target/i386/hvf/hvf.c
+++ b/target/i386/hvf/hvf.c
@@ -427,27 +427,6 @@ static void hvf_cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count,
     }
 }
 
-static hv_return_t hvf_vcpu_run(hv_vcpuid_t vcpu_id)
-{
-    /*
-     * hv_vcpu_run_until is available and recommended from macOS 10.15+,
-     * HV_DEADLINE_FOREVER from 11.0. Test for availability at runtime and fall
-     * back to hv_vcpu_run() only where necessary.
-     */
-#ifndef MAC_OS_VERSION_11_0
-    return hv_vcpu_run(vcpu_id);
-#elif MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_11_0
-    return hv_vcpu_run_until(vcpu_id, HV_DEADLINE_FOREVER);
-#else /* MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_VERSION_11_0 */
-    /* 11.0 SDK or newer, but could be < 11 at runtime */
-    if (__builtin_available(macOS 11.0, *)) {
-        return hv_vcpu_run_until(vcpu_id, HV_DEADLINE_FOREVER);
-    } else {
-        return hv_vcpu_run(vcpu_id);
-    }
-#endif
-}
-
 int hvf_vcpu_exec(CPUState *cpu)
 {
     X86CPU *x86_cpu = X86_CPU(cpu);
@@ -476,7 +455,7 @@ int hvf_vcpu_exec(CPUState *cpu)
             return EXCP_HLT;
         }
 
-        hv_return_t r = hvf_vcpu_run(cpu->accel->fd);
+        hv_return_t r = hv_vcpu_run_until(cpu->accel->fd, HV_DEADLINE_FOREVER);
         assert_hvf_ok(r);
 
         /* handle VMEXIT */

-- 
2.45.2



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 2/4] audio: Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 [PATCH 0/4] Drop ifdef for macOS versions older than 12.0 Akihiko Odaki
  2024-06-29  6:24 ` [PATCH 1/4] hvf: " Akihiko Odaki
@ 2024-06-29  6:24 ` Akihiko Odaki
  2024-07-01 15:17   ` Philippe Mathieu-Daudé
  2024-06-29  6:24 ` [PATCH 3/4] block/file-posix: " Akihiko Odaki
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 14+ messages in thread
From: Akihiko Odaki @ 2024-06-29  6:24 UTC (permalink / raw)
  To: Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block, Akihiko Odaki

macOS versions older than 12.0 are no longer supported.

docs/about/build-platforms.rst says:
> Support for the previous major version will be dropped 2 years after
> the new major version is released or when the vendor itself drops
> support, whichever comes first.

macOS 12.0 was released 2021:
https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 audio/coreaudio.m | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/audio/coreaudio.m b/audio/coreaudio.m
index ab632b9bbbbd..cadd729d5053 100644
--- a/audio/coreaudio.m
+++ b/audio/coreaudio.m
@@ -44,11 +44,6 @@
     bool enabled;
 } coreaudioVoiceOut;
 
-#if !defined(MAC_OS_VERSION_12_0) \
-    || (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_VERSION_12_0)
-#define kAudioObjectPropertyElementMain kAudioObjectPropertyElementMaster
-#endif
-
 static const AudioObjectPropertyAddress voice_addr = {
     kAudioHardwarePropertyDefaultOutputDevice,
     kAudioObjectPropertyScopeGlobal,

-- 
2.45.2



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 3/4] block/file-posix: Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 [PATCH 0/4] Drop ifdef for macOS versions older than 12.0 Akihiko Odaki
  2024-06-29  6:24 ` [PATCH 1/4] hvf: " Akihiko Odaki
  2024-06-29  6:24 ` [PATCH 2/4] audio: " Akihiko Odaki
@ 2024-06-29  6:24 ` Akihiko Odaki
  2024-07-01 15:17   ` Philippe Mathieu-Daudé
  2024-06-29  6:24 ` [PATCH 4/4] net/vmnet: " Akihiko Odaki
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 14+ messages in thread
From: Akihiko Odaki @ 2024-06-29  6:24 UTC (permalink / raw)
  To: Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block, Akihiko Odaki

macOS versions older than 12.0 are no longer supported.

docs/about/build-platforms.rst says:
> Support for the previous major version will be dropped 2 years after
> the new major version is released or when the vendor itself drops
> support, whichever comes first.

macOS 12.0 was released 2021:
https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 block/file-posix.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/block/file-posix.c b/block/file-posix.c
index be25e35ff6ef..29c7aaade8a8 100644
--- a/block/file-posix.c
+++ b/block/file-posix.c
@@ -3929,11 +3929,6 @@ BlockDriver bdrv_file = {
 static kern_return_t GetBSDPath(io_iterator_t mediaIterator, char *bsdPath,
                                 CFIndex maxPathSize, int flags);
 
-#if !defined(MAC_OS_VERSION_12_0) \
-    || (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_VERSION_12_0)
-#define IOMainPort IOMasterPort
-#endif
-
 static char *FindEjectableOpticalMedia(io_iterator_t *mediaIterator)
 {
     kern_return_t kernResult = KERN_FAILURE;

-- 
2.45.2



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 4/4] net/vmnet: Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 [PATCH 0/4] Drop ifdef for macOS versions older than 12.0 Akihiko Odaki
                   ` (2 preceding siblings ...)
  2024-06-29  6:24 ` [PATCH 3/4] block/file-posix: " Akihiko Odaki
@ 2024-06-29  6:24 ` Akihiko Odaki
  2024-07-01 15:19   ` Philippe Mathieu-Daudé
  2024-07-01 11:43 ` [PATCH 0/4] " Peter Maydell
  2024-07-01 15:39 ` Philippe Mathieu-Daudé
  5 siblings, 1 reply; 14+ messages in thread
From: Akihiko Odaki @ 2024-06-29  6:24 UTC (permalink / raw)
  To: Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block, Akihiko Odaki

macOS versions older than 12.0 are no longer supported.

docs/about/build-platforms.rst says:
> Support for the previous major version will be dropped 2 years after
> the new major version is released or when the vendor itself drops
> support, whichever comes first.

macOS 12.0 was released 2021:
https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 net/vmnet-host.c    | 24 +-----------------------
 net/vmnet-shared.c  | 13 -------------
 net/vmnet-bridged.m | 13 +------------
 net/vmnet-common.m  |  3 ---
 4 files changed, 2 insertions(+), 51 deletions(-)

diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 1f95f7343a12..49fb25c224e4 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
@@ -21,31 +21,13 @@
 static bool validate_options(const Netdev *netdev, Error **errp)
 {
     const NetdevVmnetHostOptions *options = &(netdev->u.vmnet_host);
-
-#if defined(MAC_OS_VERSION_11_0) && \
-    MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_11_0
-
     QemuUUID net_uuid;
+
     if (options->net_uuid &&
         qemu_uuid_parse(options->net_uuid, &net_uuid) < 0) {
         error_setg(errp, "Invalid UUID provided in 'net-uuid'");
         return false;
     }
-#else
-    if (options->has_isolated) {
-        error_setg(errp,
-                   "vmnet-host.isolated feature is "
-                   "unavailable: outdated vmnet.framework API");
-        return false;
-    }
-
-    if (options->net_uuid) {
-        error_setg(errp,
-                   "vmnet-host.net-uuid feature is "
-                   "unavailable: outdated vmnet.framework API");
-        return false;
-    }
-#endif
 
     if ((options->start_address ||
          options->end_address ||
@@ -71,9 +53,6 @@ static xpc_object_t build_if_desc(const Netdev *netdev)
                               vmnet_operation_mode_key,
                               VMNET_HOST_MODE);
 
-#if defined(MAC_OS_VERSION_11_0) && \
-    MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_11_0
-
     xpc_dictionary_set_bool(if_desc,
                             vmnet_enable_isolation_key,
                             options->isolated);
@@ -85,7 +64,6 @@ static xpc_object_t build_if_desc(const Netdev *netdev)
                                 vmnet_network_identifier_key,
                                 net_uuid.data);
     }
-#endif
 
     if (options->start_address) {
         xpc_dictionary_set_string(if_desc,
diff --git a/net/vmnet-shared.c b/net/vmnet-shared.c
index 40c7306a758a..4726b072536f 100644
--- a/net/vmnet-shared.c
+++ b/net/vmnet-shared.c
@@ -21,16 +21,6 @@ static bool validate_options(const Netdev *netdev, Error **errp)
 {
     const NetdevVmnetSharedOptions *options = &(netdev->u.vmnet_shared);
 
-#if !defined(MAC_OS_VERSION_11_0) || \
-    MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_VERSION_11_0
-    if (options->has_isolated) {
-        error_setg(errp,
-                   "vmnet-shared.isolated feature is "
-                   "unavailable: outdated vmnet.framework API");
-        return false;
-    }
-#endif
-
     if ((options->start_address ||
          options->end_address ||
          options->subnet_mask) &&
@@ -76,14 +66,11 @@ static xpc_object_t build_if_desc(const Netdev *netdev)
                                   options->subnet_mask);
     }
 
-#if defined(MAC_OS_VERSION_11_0) && \
-    MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_11_0
     xpc_dictionary_set_bool(
         if_desc,
         vmnet_enable_isolation_key,
         options->isolated
     );
-#endif
 
     return if_desc;
 }
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index 76a28abe793c..a04a14fa11e4 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet-bridged.m
@@ -88,15 +88,6 @@ static bool validate_options(const Netdev *netdev, Error **errp)
         return false;
     }
 
-#if !defined(MAC_OS_VERSION_11_0) || \
-    MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_VERSION_11_0
-    if (options->has_isolated) {
-        error_setg(errp,
-                   "vmnet-bridged.isolated feature is "
-                   "unavailable: outdated vmnet.framework API");
-        return false;
-    }
-#endif
     return true;
 }
 
@@ -115,12 +106,10 @@ static xpc_object_t build_if_desc(const Netdev *netdev)
                               vmnet_shared_interface_name_key,
                               options->ifname);
 
-#if defined(MAC_OS_VERSION_11_0) && \
-    MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_11_0
     xpc_dictionary_set_bool(if_desc,
                             vmnet_enable_isolation_key,
                             options->isolated);
-#endif
+
     return if_desc;
 }
 
diff --git a/net/vmnet-common.m b/net/vmnet-common.m
index 295828348501..30c4e53c1368 100644
--- a/net/vmnet-common.m
+++ b/net/vmnet-common.m
@@ -47,11 +47,8 @@
         return "buffers exhausted in kernel";
     case VMNET_TOO_MANY_PACKETS:
         return "packet count exceeds limit";
-#if defined(MAC_OS_VERSION_11_0) && \
-    MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_11_0
     case VMNET_SHARING_SERVICE_BUSY:
         return "conflict, sharing service is in use";
-#endif
     default:
         return "unknown vmnet error";
     }

-- 
2.45.2



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/4] Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 [PATCH 0/4] Drop ifdef for macOS versions older than 12.0 Akihiko Odaki
                   ` (3 preceding siblings ...)
  2024-06-29  6:24 ` [PATCH 4/4] net/vmnet: " Akihiko Odaki
@ 2024-07-01 11:43 ` Peter Maydell
  2024-07-01 12:00   ` Akihiko Odaki
  2024-07-01 15:39 ` Philippe Mathieu-Daudé
  5 siblings, 1 reply; 14+ messages in thread
From: Peter Maydell @ 2024-07-01 11:43 UTC (permalink / raw)
  To: Akihiko Odaki
  Cc: Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang, qemu-devel, qemu-block

On Sat, 29 Jun 2024 at 07:26, Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>
> macOS versions older than 12.0 are no longer supported.
>
> docs/about/build-platforms.rst says:
> > Support for the previous major version will be dropped 2 years after
> > the new major version is released or when the vendor itself drops
> > support, whichever comes first.
>
> macOS 12.0 was released 2021:
> https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/


Further, we have already dropped support for macos < 12
in the ui/cocoa.m code in commit 2d27c91e2b72ac.

For the whole series:
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>

PS: you don't need to put a signed-off-by line on the cover
letter, only in the individual patches.

thanks
-- PMM


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/4] Drop ifdef for macOS versions older than 12.0
  2024-07-01 11:43 ` [PATCH 0/4] " Peter Maydell
@ 2024-07-01 12:00   ` Akihiko Odaki
  2024-07-01 15:07     ` Konstantin Ryabitsev
  0 siblings, 1 reply; 14+ messages in thread
From: Akihiko Odaki @ 2024-07-01 12:00 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang, qemu-devel, qemu-block

On 2024/07/01 20:43, Peter Maydell wrote:
> On Sat, 29 Jun 2024 at 07:26, Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
>>
>> macOS versions older than 12.0 are no longer supported.
>>
>> docs/about/build-platforms.rst says:
>>> Support for the previous major version will be dropped 2 years after
>>> the new major version is released or when the vendor itself drops
>>> support, whichever comes first.
>>
>> macOS 12.0 was released 2021:
>> https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/
> 
> 
> Further, we have already dropped support for macos < 12
> in the ui/cocoa.m code in commit 2d27c91e2b72ac.
> 
> For the whole series:
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
> 
>> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> 
> PS: you don't need to put a signed-off-by line on the cover
> letter, only in the individual patches.

I have been using b4 (https://b4.docs.kernel.org/en/latest/) these days 
and it automatically appends Signed-off-by to the cover letter.

Regards,
Akihiko Odaki


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/4] Drop ifdef for macOS versions older than 12.0
  2024-07-01 12:00   ` Akihiko Odaki
@ 2024-07-01 15:07     ` Konstantin Ryabitsev
  2024-07-01 15:11       ` Peter Maydell
  0 siblings, 1 reply; 14+ messages in thread
From: Konstantin Ryabitsev @ 2024-07-01 15:07 UTC (permalink / raw)
  To: Akihiko Odaki
  Cc: Peter Maydell, Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang, qemu-devel, qemu-block

On Mon, Jul 01, 2024 at 09:00:48PM GMT, Akihiko Odaki wrote:
> > > Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> > 
> > PS: you don't need to put a signed-off-by line on the cover
> > letter, only in the individual patches.
> 
> I have been using b4 (https://b4.docs.kernel.org/en/latest/) these days and
> it automatically appends Signed-off-by to the cover letter.

Many subsystems use cover letters as templates for merge commits, which is why
b4 puts the Signed-off-by there. It has no impact on subsystems that don't do
that.

-K


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/4] Drop ifdef for macOS versions older than 12.0
  2024-07-01 15:07     ` Konstantin Ryabitsev
@ 2024-07-01 15:11       ` Peter Maydell
  0 siblings, 0 replies; 14+ messages in thread
From: Peter Maydell @ 2024-07-01 15:11 UTC (permalink / raw)
  To: Konstantin Ryabitsev
  Cc: Akihiko Odaki, Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Philippe Mathieu-Daudé, Kevin Wolf,
	Hanna Reitz, Jason Wang, qemu-devel, qemu-block

On Mon, 1 Jul 2024 at 16:07, Konstantin Ryabitsev
<konstantin@linuxfoundation.org> wrote:
>
> On Mon, Jul 01, 2024 at 09:00:48PM GMT, Akihiko Odaki wrote:
> > > > Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> > >
> > > PS: you don't need to put a signed-off-by line on the cover
> > > letter, only in the individual patches.
> >
> > I have been using b4 (https://b4.docs.kernel.org/en/latest/) these days and
> > it automatically appends Signed-off-by to the cover letter.
>
> Many subsystems use cover letters as templates for merge commits, which is why
> b4 puts the Signed-off-by there. It has no impact on subsystems that don't do
> that.

...well, except that it sends the implicit signal "this person
or tool doesn't know how QEMU's patch workflow works, maybe
check more closely", which is slightly unfortunate.

-- PMM


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 2/4] audio: Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 ` [PATCH 2/4] audio: " Akihiko Odaki
@ 2024-07-01 15:17   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 14+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-07-01 15:17 UTC (permalink / raw)
  To: Akihiko Odaki, Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Kevin Wolf, Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block

On 29/6/24 08:24, Akihiko Odaki wrote:
> macOS versions older than 12.0 are no longer supported.
> 
> docs/about/build-platforms.rst says:
>> Support for the previous major version will be dropped 2 years after
>> the new major version is released or when the vendor itself drops
>> support, whichever comes first.
> 
> macOS 12.0 was released 2021:
> https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/
> 
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> ---
>   audio/coreaudio.m | 5 -----
>   1 file changed, 5 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 3/4] block/file-posix: Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 ` [PATCH 3/4] block/file-posix: " Akihiko Odaki
@ 2024-07-01 15:17   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 14+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-07-01 15:17 UTC (permalink / raw)
  To: Akihiko Odaki, Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Kevin Wolf, Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block

On 29/6/24 08:24, Akihiko Odaki wrote:
> macOS versions older than 12.0 are no longer supported.
> 
> docs/about/build-platforms.rst says:
>> Support for the previous major version will be dropped 2 years after
>> the new major version is released or when the vendor itself drops
>> support, whichever comes first.
> 
> macOS 12.0 was released 2021:
> https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/
> 
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> ---
>   block/file-posix.c | 5 -----
>   1 file changed, 5 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 4/4] net/vmnet: Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 ` [PATCH 4/4] net/vmnet: " Akihiko Odaki
@ 2024-07-01 15:19   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 14+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-07-01 15:19 UTC (permalink / raw)
  To: Akihiko Odaki, Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Kevin Wolf, Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block

On 29/6/24 08:24, Akihiko Odaki wrote:
> macOS versions older than 12.0 are no longer supported.
> 
> docs/about/build-platforms.rst says:
>> Support for the previous major version will be dropped 2 years after
>> the new major version is released or when the vendor itself drops
>> support, whichever comes first.
> 
> macOS 12.0 was released 2021:
> https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/
> 
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> ---
>   net/vmnet-host.c    | 24 +-----------------------
>   net/vmnet-shared.c  | 13 -------------
>   net/vmnet-bridged.m | 13 +------------
>   net/vmnet-common.m  |  3 ---
>   4 files changed, 2 insertions(+), 51 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 1/4] hvf: Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 ` [PATCH 1/4] hvf: " Akihiko Odaki
@ 2024-07-01 15:21   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 14+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-07-01 15:21 UTC (permalink / raw)
  To: Akihiko Odaki, Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Kevin Wolf, Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block

On 29/6/24 08:24, Akihiko Odaki wrote:
> macOS versions older than 12.0 are no longer supported.
> 
> docs/about/build-platforms.rst says:
>> Support for the previous major version will be dropped 2 years after
>> the new major version is released or when the vendor itself drops
>> support, whichever comes first.
> 
> macOS 12.0 was released 2021:
> https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/
> 
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> ---
>   accel/hvf/hvf-all.c   |  3 ---
>   target/i386/hvf/hvf.c | 23 +----------------------
>   2 files changed, 1 insertion(+), 25 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/4] Drop ifdef for macOS versions older than 12.0
  2024-06-29  6:24 [PATCH 0/4] Drop ifdef for macOS versions older than 12.0 Akihiko Odaki
                   ` (4 preceding siblings ...)
  2024-07-01 11:43 ` [PATCH 0/4] " Peter Maydell
@ 2024-07-01 15:39 ` Philippe Mathieu-Daudé
  5 siblings, 0 replies; 14+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-07-01 15:39 UTC (permalink / raw)
  To: Akihiko Odaki, Cameron Esfahani, Roman Bolshakov, Gerd Hoffmann,
	Marc-André Lureau, Kevin Wolf, Hanna Reitz, Jason Wang
  Cc: qemu-devel, qemu-block

On 29/6/24 08:24, Akihiko Odaki wrote:
> macOS versions older than 12.0 are no longer supported.

> Akihiko Odaki (4):
>        hvf: Drop ifdef for macOS versions older than 12.0
>        audio: Drop ifdef for macOS versions older than 12.0
>        block/file-posix: Drop ifdef for macOS versions older than 12.0
>        net/vmnet: Drop ifdef for macOS versions older than 12.0

Series queued, thanks!


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-07-01 15:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-29  6:24 [PATCH 0/4] Drop ifdef for macOS versions older than 12.0 Akihiko Odaki
2024-06-29  6:24 ` [PATCH 1/4] hvf: " Akihiko Odaki
2024-07-01 15:21   ` Philippe Mathieu-Daudé
2024-06-29  6:24 ` [PATCH 2/4] audio: " Akihiko Odaki
2024-07-01 15:17   ` Philippe Mathieu-Daudé
2024-06-29  6:24 ` [PATCH 3/4] block/file-posix: " Akihiko Odaki
2024-07-01 15:17   ` Philippe Mathieu-Daudé
2024-06-29  6:24 ` [PATCH 4/4] net/vmnet: " Akihiko Odaki
2024-07-01 15:19   ` Philippe Mathieu-Daudé
2024-07-01 11:43 ` [PATCH 0/4] " Peter Maydell
2024-07-01 12:00   ` Akihiko Odaki
2024-07-01 15:07     ` Konstantin Ryabitsev
2024-07-01 15:11       ` Peter Maydell
2024-07-01 15:39 ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).