From nobody Sun Dec 29 01:09:49 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1719642382; cv=none; d=zohomail.com; s=zohoarc; b=CzmRFZO2ndt3Z5r/gJqmon2+89GI8eLCuwkHAmnrdHF/7WvrN+n1p5oOp4p66vo+Nt4y83FvCuQX5x/d9mDxlHbhNrwCPzzaRD5lzT/uzJApAIuAMDkLUbR0O7oeZQJw+48M1SH1YDFwPEQJqFYGwCSs9cjjSbG7nW+SSeVQl5w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719642382; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=nOI+/hoYgC2+kd3/KX8my+UtuxBUiUAkeuQfM1cW05g=; b=XfxejCki1oyFRtE4tDowux6atJXCxe0Xx0WlqD1hLPFJc6FToi4tojVWExKB2w5i9sbaA3SZdN5H7QFg1nKIztO2ba2PD57+oyi/8G0ixUSYehukbnScJqihshlqCLxE22w54Mauw9/6OmFT8wG2+fCqxog9+dmP6/uV3FZIOBw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719642382819769.9469178723638; Fri, 28 Jun 2024 23:26:22 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNRWL-0001E3-9T; Sat, 29 Jun 2024 02:25:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNRWJ-0001Co-6G for qemu-devel@nongnu.org; Sat, 29 Jun 2024 02:25:11 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNRWH-0000K2-LO for qemu-devel@nongnu.org; Sat, 29 Jun 2024 02:25:10 -0400 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1f64ecb1766so8538365ad.1 for ; Fri, 28 Jun 2024 23:25:08 -0700 (PDT) Received: from localhost ([157.82.204.135]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-1fac10d2652sm25376725ad.1.2024.06.28.23.25.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jun 2024 23:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719642306; x=1720247106; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=nOI+/hoYgC2+kd3/KX8my+UtuxBUiUAkeuQfM1cW05g=; b=osG7Suu7IwDY0STthecn+OtmBR3ZAZQMRgorhQKw/UE3tBIkt7nc1f0pkDpJnEEBKO zPSOWeuusEPmyM2SKTOpKdoMot6mK3u30lrDQ1h/MoYzGvb6liyk7UG0rscfYo3d1uP2 J7/r5b3t5BiuuYRNKPPwKp+xaU85z+47hj69/U4I6Zqd7qNXJfiF7m1juld3Fa7Kpz4g Jf1oXmsBUKXIWPEwk3UCruhQK1t0eglaVZneVcv40zakcX6WfTZxzVn0EvwcDmRvqNqN 7szn0k8gfxkpGWnDrwK4L6atxRXl5MRWfeImhnibIRd5pXWKduoxsDqXOx+RKo8IvwwI dMLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719642306; x=1720247106; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nOI+/hoYgC2+kd3/KX8my+UtuxBUiUAkeuQfM1cW05g=; b=A+TbiIoctgosYjb5SHD9QDkckpsOhXAF/nrgPImBZLRl1iro4VunQbcalg5jjpEGdV 2H24u28zvj4+JQiNd3Cq8l8CBkMWcB/CH//jH1+f1ujqPfyUF9CJZmcjXl1aSF7Vb0hx IbaHZscuIbAss+iO0XSmrbmITepJsVzyLqBtob8/LMUq9YQ9cOmZu6UPQBJsHLT/LYDS /r1ewbyWrZze/AJ4s+6Y/wywFin/DzfVfn9YC0WKn4RCt/YOqCDyCdaFwstlOulwdBAO bMBtLkZrRtTKXBod6cVBvbmAhZ6ik9psi4P0IHD5nRdFd3joYHUHYiRvQ+TK8VLG5gw1 u/dw== X-Gm-Message-State: AOJu0YwpIOltFXakdGGoPpcIovW3T7gNL6TANjm7IihV4nJQuiJzh68r o9qkmLqt/71SnBG5MXcUoGGZ0APT3HZbS/StgutUGBdZTZNrQ+fJUf2EL3tgmSg= X-Google-Smtp-Source: AGHT+IGI47h+FQSxc7tw6xDlfFWwRmvMscvqx/GqEB9tXD4n8By+Seopj6Gb2WYeNi6flQpA5bmkpw== X-Received: by 2002:a17:902:e546:b0:1fa:2760:c3d0 with SMTP id d9443c01a7336-1fadbce6a97mr1508445ad.51.1719642306144; Fri, 28 Jun 2024 23:25:06 -0700 (PDT) From: Akihiko Odaki Date: Sat, 29 Jun 2024 15:24:46 +0900 Subject: [PATCH 3/4] block/file-posix: Drop ifdef for macOS versions older than 12.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240629-macos-v1-3-6e70a6b700a0@daynix.com> References: <20240629-macos-v1-0-6e70a6b700a0@daynix.com> In-Reply-To: <20240629-macos-v1-0-6e70a6b700a0@daynix.com> To: Cameron Esfahani , Roman Bolshakov , Gerd Hoffmann , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Kevin Wolf , Hanna Reitz , Jason Wang Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::635; envelope-from=akihiko.odaki@daynix.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer2=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1719642383820100009 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 Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- 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 =3D { static kern_return_t GetBSDPath(io_iterator_t mediaIterator, char *bsdPath, CFIndex maxPathSize, int flags); =20 -#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 =3D KERN_FAILURE; --=20 2.45.2