From 602751b4abe013c6b668dde014e13b7d0032e903 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 11 Dec 2013 20:08:10 -0700 Subject: [PATCH] storage: show gluster option in virsh --version=long 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 --- tools/virsh.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/virsh.c b/tools/virsh.c index 5559d71551..9d07d3e223 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -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");