]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: display if ZFS storage backend is enabled
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sun, 3 Jan 2016 02:25:35 +0000 (05:25 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 4 Feb 2016 00:16:50 +0000 (03:16 +0300)
Make 'virsh -V' list ZFS storage backend if it's enabled.

tools/virsh.c

index 1a9a7136348dfb948d9e381ab7bfa977e4aeb3f9..b96dbda59cd86a341d5e22bf21d460e630fb3111 100644 (file)
@@ -631,6 +631,9 @@ virshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED)
 #endif
 #ifdef WITH_STORAGE_GLUSTER
     vshPrint(ctl, " Gluster");
+#endif
+#ifdef WITH_STORAGE_ZFS
+    vshPrint(ctl, " ZFS");
 #endif
     vshPrint(ctl, "\n");