From patchwork Mon Sep 4 13:44:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9937183 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 906B2601EB for ; Mon, 4 Sep 2017 13:47:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82365287EF for ; Mon, 4 Sep 2017 13:47:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77360287F1; Mon, 4 Sep 2017 13:47:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A590A287EB for ; Mon, 4 Sep 2017 13:47:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dorgM-0002xb-8W; Mon, 04 Sep 2017 13:44:54 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dorgK-0002wn-Rj for xen-devel@lists.xenproject.org; Mon, 04 Sep 2017 13:44:52 +0000 Received: from [193.109.254.147] by server-7.bemta-6.messagelabs.com id 37/C6-03610-4D85DA95; Mon, 04 Sep 2017 13:44:52 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeJIrShJLcpLzFFi42JxWrrBXvdyxNp Ig+XXNCy+b5nM5MDocfjDFZYAxijWzLyk/IoE1oybhw+xFjznq1g2/S1zA+Ns7i5GTg4JAX+J /68/MoHYbALKEj87e9lAbBEBPYmmA88ZQWxmAS+JF+v+gdnCAmYSDee7wWwWARWJWyu3soPYv AIWErd2/WOCmCkvsavtIiuIzSlgKTF9XxtYXAioZtm8f+wQtoJEx/RjTBC9ghInZz5hgdglIX HwxQvmCYy8s5CkZiFJLWBkWsWoXpxaVJZapGuhl1SUmZ5RkpuYmaNraGCml5taXJyYnpqTmFS sl5yfu4kRGDoMQLCDcfZl/0OMkhxMSqK8R0PWRgrxJeWnVGYkFmfEF5XmpBYfYpTh4FCS4A0G hqKQYFFqempFWmYOMIhh0hIcPEoivOvDgdK8xQWJucWZ6RCpU4yKUuK8liB9AiCJjNI8uDZY5 FxilJUS5mUEOkSIpyC1KDezBFX+FaM4B6OSMK88yBSezLwSuOmvgBYzAS2uerkGZHFJIkJKqo ExSPrdUvv1TBf/Suy+x5vIqdx54fsVN977e6xOXvnz9LJZ0xf598lcNncbP3xQe3ej1KTmRCx PYsuWxkVcWy889XkzrevMl+kGkSWce/NTOAImrJHrsmAWuxnx09fpxA5H590BHxbvfKo5L9zi S+XfE8vyGf6+M7jMHVC+9VDOoscvwz77AENTiaU4I9FQi7moOBEAWbrCwpcCAAA= X-Env-Sender: prvs=413cdd9d7=wei.liu2@citrix.com X-Msg-Ref: server-14.tower-27.messagelabs.com!1504532689!102529243!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 23768 invoked from network); 4 Sep 2017 13:44:51 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 4 Sep 2017 13:44:51 -0000 X-IronPort-AV: E=Sophos;i="5.41,474,1498521600"; d="scan'208";a="446453629" From: Wei Liu To: Xen-devel Date: Mon, 4 Sep 2017 14:44:46 +0100 Message-ID: <20170904134447.19176-4-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170904134447.19176-1-wei.liu2@citrix.com> References: <20170904134447.19176-1-wei.liu2@citrix.com> MIME-Version: 1.0 Cc: Ian Jackson , Wei Liu Subject: [Xen-devel] [PATCH 3/4] tools: disable blktap2 by default X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Wei Liu --- Cc: Ian Jackson --- tools/configure | 9 ++------- tools/configure.ac | 8 ++------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/tools/configure b/tools/configure index 29393a3ad2..f3bb412f51 100755 --- a/tools/configure +++ b/tools/configure @@ -1490,8 +1490,7 @@ Optional Features: --disable-xsmpolicy Disable XSM policy compilation (default is ENABLED) --enable-ovmf Enable OVMF (default is DISABLED) --disable-seabios Disable SeaBIOS (default is ENABLED) - --enable-blktap2 Enable blktap2, (DEFAULT is on for Linux, otherwise - off) + --enable-blktap2 Enable blktap2, (DEFAULT is off) --enable-qemu-traditional Enable qemu traditional device model, (DEFAULT is on for Linux or NetBSD x86, otherwise off) @@ -4214,11 +4213,7 @@ if test "${enable_blktap2+set}" = set; then : enableval=$enable_blktap2; else - case "$host_os" in - linux*) - enable_blktap2="yes";; - *) enable_blktap2="no";; - esac + enable_blktap2="no" fi diff --git a/tools/configure.ac b/tools/configure.ac index a47d0fdbe6..d1a3a78d87 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -119,12 +119,8 @@ AC_SUBST(LINUX_BACKEND_MODULES) dnl Enable blktap2 on Linux only. AC_ARG_ENABLE([blktap2], AS_HELP_STRING([--enable-blktap2], - [Enable blktap2, (DEFAULT is on for Linux, otherwise off)]),,[ - case "$host_os" in - linux*) - enable_blktap2="yes";; - *) enable_blktap2="no";; - esac + [Enable blktap2, (DEFAULT is off)]),,[ + enable_blktap2="no" ]) AS_IF([test "x$enable_blktap2" = "xyes"], [ AC_DEFINE([HAVE_BLKTAP2], [1], [Blktap2 enabled])