]> xenbits.xensource.com Git - xen.git/commitdiff
tmem: Fix tmem-shared-auth 'auth' values
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 18 Mar 2017 03:17:23 +0000 (23:17 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 5 Apr 2017 13:39:56 +0000 (09:39 -0400)
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.

Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
tools/xl/xl_cmdtable.c

index 7d9781113c1799c04898e763f6f5c4f09d51efa8..30eb93c17f910067666adff18191cd64fb8cb1ab 100644 (file)
@@ -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,