From: Eric Blake Date: Thu, 12 Dec 2013 03:08:10 +0000 (-0700) Subject: storage: show gluster option in virsh --version=long X-Git-Tag: CVE-2013-6436~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=602751b4abe013c6b668dde014e13b7d0032e903;p=thirdparty%2Flibvirt.git 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 --- 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");