From nobody Sun Nov 2 12:04:14 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1527312967269828.9679977232203; Fri, 25 May 2018 22:36:07 -0700 (PDT) Received: from localhost ([::1]:47853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMRs6-0006G7-Je for importer@patchew.org; Sat, 26 May 2018 01:36:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMRgi-0006Tz-T2 for qemu-devel@nongnu.org; Sat, 26 May 2018 01:24:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMRgf-0004ez-Rr for qemu-devel@nongnu.org; Sat, 26 May 2018 01:24:20 -0400 Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]:45077) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMRgf-0004ed-Nk for qemu-devel@nongnu.org; Sat, 26 May 2018 01:24:17 -0400 Received: by mail-qk0-x235.google.com with SMTP id c198-v6so5676628qkg.12 for ; Fri, 25 May 2018 22:24:17 -0700 (PDT) Received: from localhost.localdomain (96-86-104-61-static.hfc.comcastbusiness.net. [96.86.104.61]) by smtp.gmail.com with ESMTPSA id n128-v6sm17675166qkf.42.2018.05.25.22.24.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 May 2018 22:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juliacomputing-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=GutYW4LtZqtkmjvXsjRhCXMo0BsB3pQEV0Cu6QiK67g=; b=pxb/PKJfzgVF+gxnhhnkgt+UbcYmpG6T21krAayb/06O48KszuT87D4yjBi1ubV5pY j13uAE9uG1X/J+v8iNSYZZtMVE+yuOJS9nQmJTfj+rD8Lu4RyctCiOeA3r4y3jQB+jfJ 6/JH1Pr5K1pPFwGLW7tXadpaQmEanZFabei1Tj/8fwkX7qxE2bmbzvR2LduaFD/mW0Gc ll4fhO+8lxBvt+/Somo1rPjWTSXjAfdnz4TFafAWiftoPwBA69IAJjY7d6apOwiZybrP HVkkL0KFYnP7KOCBCEyI7Fp3ssUeI9OTKg5ifCl3ovB6BrxUAWbliV35OzfXFvkwwNZi tlvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=GutYW4LtZqtkmjvXsjRhCXMo0BsB3pQEV0Cu6QiK67g=; b=o9B08foHUD9lro21itXcwRUkY7VNwnb4OsbOGj51mpzKZSJ39mofGoY9C2dsJf4jav jPMfhGMO1mmEzRgF55HVOUDrLlG61GUac/IS63evgBaOR42NOrfYEDrwRb7bubC7Mfkk cBB2KCfGnorsrmco2C4KNPT++U5dQ3srS8B2GO/kgI7o9x1i5f2awMec+TmPBlPzG7nB UUgIJrr1e+FDUz7H50TbqNbK2KK4JUwc1bNiX+GAVzvbQZAtEFJrVZ1/gtBCX+z27quN BZBYJWpLBuOzI108jYkAE3TyWHfQzPnKarBia/wCEyoTMROoqyD5Xs7Gc/Hng73+KM+s T3FQ== X-Gm-Message-State: ALKqPwcB3o1Je1wPLJVgoObbx/pyWf7xtywnyNBr9v+a5qP8rru3hnsF wqBTcFWT09vkjlDnulyzwA5944JcYk4= X-Google-Smtp-Source: ADUXVKImWp8BdDIPQM8uwuTRxIPRzSxwGKPy8BHByKFVN4r5p2LjUdJg3+JnDZ9LsMPsnZxwPKcZ/Q== X-Received: by 2002:a37:ddd1:: with SMTP id u78-v6mr4804350qku.363.1527312256808; Fri, 25 May 2018 22:24:16 -0700 (PDT) From: keno@juliacomputing.com To: qemu-devel@nongnu.org Date: Sat, 26 May 2018 01:23:15 -0400 Message-Id: X-Mailer: git-send-email 2.8.1 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::235 Subject: [Qemu-devel] [PATCH 13/13] 9p: darwin: configure: Allow VirtFS on Darwin X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Keno Fischer , Keno Fischer , groug@kaod.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Keno Fischer Signed-off-by: Keno Fischer --- Makefile.objs | 1 + configure | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index c6c3554..a2245c9 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -104,6 +104,7 @@ common-obj-$(CONFIG_WIN32) +=3D os-win32.o common-obj-$(CONFIG_POSIX) +=3D os-posix.o =20 common-obj-$(CONFIG_LINUX) +=3D fsdev/ +common-obj-$(CONFIG_DARWIN) +=3D fsdev/ =20 common-obj-y +=3D migration/ =20 diff --git a/configure b/configure index a8498ab..eb7328c 100755 --- a/configure +++ b/configure @@ -5535,16 +5535,27 @@ if test "$want_tools" =3D "yes" ; then fi fi if test "$softmmu" =3D yes ; then - if test "$linux" =3D yes; then - if test "$virtfs" !=3D no && test "$cap" =3D yes && test "$attr" =3D y= es ; then + if test "$virtfs" !=3D no; then + if test "$linux" =3D yes; then + if test "$cap" =3D yes && test "$attr" =3D yes ; then + virtfs=3Dyes + tools=3D"$tools fsdev/virtfs-proxy-helper\$(EXESUF)" + else + if test "$virtfs" =3D yes; then + error_exit "VirtFS requires libcap devel and libattr devel under= Linux" + fi + virtfs=3Dno + fi + elif test "$darwin" =3D yes; then virtfs=3Dyes - tools=3D"$tools fsdev/virtfs-proxy-helper\$(EXESUF)" else if test "$virtfs" =3D yes; then - error_exit "VirtFS requires libcap devel and libattr devel" + error_exit "VirtFS is supported only on Linux and Darwin" fi virtfs=3Dno fi + fi + if test "$linux" =3D yes; then if test "$mpath" !=3D no && test "$mpathpersist" =3D yes ; then mpath=3Dyes else @@ -5555,10 +5566,6 @@ if test "$softmmu" =3D yes ; then fi tools=3D"$tools scsi/qemu-pr-helper\$(EXESUF)" else - if test "$virtfs" =3D yes; then - error_exit "VirtFS is supported only on Linux" - fi - virtfs=3Dno if test "$mpath" =3D yes; then error_exit "Multipath is supported only on Linux" fi --=20 2.8.1