From nobody Mon Feb 9 12:12:06 2026 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 1527817457003230.25984357212053; Thu, 31 May 2018 18:44:17 -0700 (PDT) Received: from localhost ([::1]:46982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOZ72-0006un-9S for importer@patchew.org; Thu, 31 May 2018 21:44:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOYrH-0003Gx-DU for qemu-devel@nongnu.org; Thu, 31 May 2018 21:28:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOYrG-0003Mw-Ew for qemu-devel@nongnu.org; Thu, 31 May 2018 21:27:59 -0400 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:38366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOYrG-0003MM-A3 for qemu-devel@nongnu.org; Thu, 31 May 2018 21:27:58 -0400 Received: by mail-qk0-x242.google.com with SMTP id y4-v6so555063qka.5 for ; Thu, 31 May 2018 18:27:58 -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 o68-v6sm2003842qkc.19.2018.05.31.18.27.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 May 2018 18:27:55 -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=yryvrHh1q7WVNjHsOwKFkC1+fQue38nWq7Neelwz9os=; b=NkgQDxbBOlT//tD96ad0Hm7XZvZUMylh+Gfm6QohBOGBLFfFA8IeQyssPV7NEtMzhj l7cp/x8uHkEQrum4tsckWIFxmc3jvNH2F4nxHJBocntFIvhevlzgov74d/oQYTUuGito n9wFsFwldEyJ2HglrEjgZRcnu2Qp3nri+aW5Jxs8OH22JtpKaFkwIaZZccXMuBPaIJDU i+q4C2by4UUhSEjcxpF5r0JCDu7s4n3uWUSDhiLnb6An7q9IX1dSqCAEK/3zxI0G+okM XwwBUhgOpWRTVUFAn3SDB4Sovxk/WFxh4Ar1zJIBqKlhe/pdiS4z6UqBQfEI7jihAX4p 7Nlg== 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=yryvrHh1q7WVNjHsOwKFkC1+fQue38nWq7Neelwz9os=; b=Kp7WSx6/+HjHqISVKUc5EVvyynF9+wPnzWqCo81C5fPN1UMPbeYSR4kj60zznDq2US gmKkH3riEJOE2Hk3kRo0ukdp6JciwMrqkzCnpKIIw5Sg1PWg3IW8L0BKYMHjFxL5rSv5 hSoFooJYZ8m9qRUGAfft565sTX3B1oImvjEM7le8jo1VO9tOtbS6Xtxs2HbZ6kI8sCnR +CYmJrRPXPEWwbGqn7DgdxoJ0ZPYwf94mHhdhvK2P7asRqpU/JJz2lt2gKxY1Ugb+IHc wZ3J6GfLxrzVQdRLQBejthh9Bw/QMuG1nMo0eL6XwuespyjDaaDJ34GRb+c+JqWPgZBH t9XQ== X-Gm-Message-State: APt69E0XAptTNvWjx7y3gBF4S/A4kUt3b/2dxkZmkjoMi9UCVOt5cxl2 GU0y5ZyC6AftJSKaKOmFaoQmhDpZx98= X-Google-Smtp-Source: ADUXVKJ/jTtBKmn5skMfcOnclzGRX86pHYsFNGIn66l6d8S8ihuTz+N1YQukQOYZdLBznvhNVFiR8A== X-Received: by 2002:a37:c84d:: with SMTP id c74-v6mr8482306qkj.245.1527816477424; Thu, 31 May 2018 18:27:57 -0700 (PDT) From: Keno Fischer To: qemu-devel@nongnu.org Date: Thu, 31 May 2018 21:26:15 -0400 Message-Id: <9c0317e40b127c5f263f82ac628b28f89fddf33e.1527814874.git.keno@juliacomputing.com> 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::242 Subject: [Qemu-devel] [PATCH v2 20/20] 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 , 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" Signed-off-by: Keno Fischer --- Changes from v1: Now builds the proxy-helper on Darwin. Makefile.objs | 1 + configure | 22 +++++++++++++++------- 2 files changed, 16 insertions(+), 7 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 a6a4616..4808459 100755 --- a/configure +++ b/configure @@ -5535,16 +5535,28 @@ 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 +5567,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