From patchwork Sun Mar 19 13:41:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Rzeszutek Wilk X-Patchwork-Id: 9632563 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 33FB660326 for ; Sun, 19 Mar 2017 13:44:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26C1E284CB for ; Sun, 19 Mar 2017 13:44:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B958284CC; Sun, 19 Mar 2017 13:44:04 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID 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 C4D74284CF for ; Sun, 19 Mar 2017 13:44:03 +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 1cpb5P-0000FD-IH; Sun, 19 Mar 2017 13:41:31 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpb5O-0000E9-BW for xen-devel@lists.xenproject.org; Sun, 19 Mar 2017 13:41:30 +0000 Received: from [193.109.254.147] by server-9.bemta-6.messagelabs.com id 73/14-14382-98A8EC85; Sun, 19 Mar 2017 13:41:29 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCIsWRWlGSWpSXmKPExsVyMfTGQd3OrnM RBi2TOSy+b5nM5MDocfjDFZYAxijWzLyk/IoE1oy/H+QLNnNUHH79n62BsYGti5GLQ0hgBqPE 3rcXWEAcFoEPLBL35/1hBHEkBKaxSlw+vQ2ojBPIiZG40bCNFcKukJg4fyUjiC0koCSxZfJjR ohRu5gkFt/7AlYkLKAnMfnbbbAiNgF9iadrrzF3MXIANbtJfLrGBRIWEQiUOLfvMTNIL7NAD6 PEnaaJUL0OEn2zz4DZLAKqEluXNYDN4RVwldjf+gPqIDmJm+c6mUFsTqCZSz/NZIE4yFXi+rt 37BMYhRYwMqxi1ChOLSpLLdI1NNFLKspMzyjJTczM0TU0MNPLTS0uTkxPzUlMKtZLzs/dxAgM RQYg2MF4fWPAIUZJDiYlUV4VwRMRQnxJ+SmVGYnFGfFFpTmpxYcYZTg4lCR4l0QC5QSLUtNTK 9Iyc4BRAZOW4OBREuEtBUnzFhck5hZnpkOkTjFacjw4tesNE8ec2buB5Kf+w2+YhFjy8vNSpc R574E0CIA0ZJTmwY2DRe4lRlkpYV5GoAOFeApSi3IzS1DlXzGKczAqCfO+B5nCk5lXArf1FdB BTEAHJf48AnJQSSJCSqqBcZNj/SzpjXpfXx+Y9zmp8PCyRv0EyZP/esunbAgUE7D2ON2/PGmW xoZcoSmelw8LLc98/tRz8+2HrkltBVecdnMFzSnUld7/KdDTwn7BpZQHT7yXCk8/Iu5cdXFrp ULm8/+LBCv3em/peG1VL8t6hHmn13/RR7Iy3sefsEQ2H7zFMom/xEdxuRJLcUaioRZzUXEiAF tEjaPXAgAA X-Env-Sender: ketuzsezr@gmail.com X-Msg-Ref: server-9.tower-27.messagelabs.com!1489930888!92633124!1 X-Originating-IP: [209.85.216.193] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2282 invoked from network); 19 Mar 2017 13:41:29 -0000 Received: from mail-qt0-f193.google.com (HELO mail-qt0-f193.google.com) (209.85.216.193) by server-9.tower-27.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 19 Mar 2017 13:41:29 -0000 Received: by mail-qt0-f193.google.com with SMTP id r5so14549299qtb.2 for ; Sun, 19 Mar 2017 06:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=aZ+LWH9K1746hEMHmiwdLoS/SclGe0K9cXDvHvbSL8g=; b=UZDcdOu/KIcfj0owsfZfZsclLFoAcDQEqIinjZnUu2XeE2Gl8ePt+CT7vecoB2MO44 KBbjUizg7OHyFeK4FRC4J4AT/FcI3UUaxv9c4o8Y/bE1QUHdqJQU4K3ocz2KToiJ5zIY yv9WyfdAMGk1jXqXFCTmvXWp9+94IJwDcMLm1HEoE8krdFqqREHoSnCpYdqF2vhRRFi8 W6X0SGx1GTGplTDegGsqSzcMkUOh+vC7QYJ5i/KmmagG4OrZnKoSGp9wfrfqNBZZKIYf 47RT5iWGRVFoCUJ35Toz4Ncmk8oQsC1wSOy2cNE1d09B4xmxBw+hQJ+KssK3Q28SBk2A T1Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=aZ+LWH9K1746hEMHmiwdLoS/SclGe0K9cXDvHvbSL8g=; b=FLLDpVvcqUpoGfYRREp3lLHmLtAP71b6VOqO77TBiFfV6vNw2ndSDnCd3J7ra20LtW 3bjBYU8NEKmIRM14fICcyULeW/yHsTsgc1OascnlZz46pM11TVdadJhQ4jKlF1EyiG5q Baw/sGnb0JOVp3gS6r3yD2ufvjGWokslPAmH8CW1VRnwYalWBrlsFIIg742/b2JxDaJi m41zwCnenBkSvwHqZhKz3VPL/l/uttMae8/nkT306OiHqXie5yuwDf4ZKbnpI9j8fMwy VLC2VRg0poIA4QYUDPNh3mg579ZdqazTXo7m+JTXcwRye6KZ5R4tFtYl3fmgae4CF/PE 5o8Q== X-Gm-Message-State: AFeK/H2kcNBcAE6tkuZLnsNQ34ZFe4T7Pxsvj+e2cnf61BLp3lZDOuIRnaw+oGg4pFeyZA== X-Received: by 10.200.57.71 with SMTP id t7mr20892558qtb.99.1489930887997; Sun, 19 Mar 2017 06:41:27 -0700 (PDT) Received: from build-external.dumpdata.com (209-6-196-81.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com. [209.6.196.81]) by smtp.gmail.com with ESMTPSA id q31sm10286548qta.22.2017.03.19.06.41.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Mar 2017 06:41:27 -0700 (PDT) From: Konrad Rzeszutek Wilk X-Google-Original-From: Konrad Rzeszutek Wilk To: xen-devel@lists.xenproject.org, ian.jackson@citrix.com, wei.liu2@citrix.com Date: Sun, 19 Mar 2017 09:41:11 -0400 Message-Id: <1489930872-7823-5-git-send-email-konrad.wilk@oracle.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489930872-7823-1-git-send-email-konrad.wilk@oracle.com> References: <1489930872-7823-1-git-send-email-konrad.wilk@oracle.com> Cc: andrew.cooper3@citrix.com, Ian Jackson , jbeulich@suse.com Subject: [Xen-devel] [PATCH v1 4/5] tmem: Fix tmem-shared-auth 'auth' values 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: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP The hypervisor code (tmemc_shared_pool_auth) since the inception would consider auth values of: 0 - to disable authentication! 1 - to enable authentication for the given UUID. The docs have it the other way around, so lets fix it. Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Wei Liu --- Cc: Ian Jackson Cc: Wei Liu --- tools/xl/xl_cmdtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xl/xl_cmdtable.c b/tools/xl/xl_cmdtable.c index 7d97811..30eb93c 100644 --- a/tools/xl/xl_cmdtable.c +++ b/tools/xl/xl_cmdtable.c @@ -416,7 +416,7 @@ struct cmd_spec cmd_table[] = { " -a Authenticate for all tmem pools\n" " -u UUID Specify uuid\n" " (abcdef01-2345-6789-1234-567890abcdef)\n" - " -A AUTH 0=auth,1=deauth", + " -A AUTH 0=deauth,1=auth", }, { "tmem-freeable", &main_tmem_freeable, 0, 0,