]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
storage: show gluster option in virsh --version=long
authorEric Blake <eblake@redhat.com>
Thu, 12 Dec 2013 03:08:10 +0000 (20:08 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 12 Dec 2013 04:02:24 +0000 (21:02 -0700)
Adding output to 'virsh --version=long' makes it easier to
tell if a distro built with particular libraries (it doesn't
tell you what a remote libvirtd is built with, but is still
better than nothing).  But we forgot to mention gluster.

* tools/virsh.c (vshShowVersion): Add gluster witness.

Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virsh.c

index 5559d71551d0596748b5df0afc93aebf1bbf5dd5..9d07d3e223b133be05b653b83bd3faccd982724a 100644 (file)
@@ -3068,6 +3068,9 @@ vshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED)
 #endif
 #ifdef WITH_STORAGE_SHEEPDOG
     vshPrint(ctl, " Sheepdog");
+#endif
+#ifdef WITH_STORAGE_GLUSTER
+    vshPrint(ctl, " Gluster");
 #endif
     vshPrint(ctl, "\n");