[libvirt] [PATCH 2/2] virsh: display if ZFS storage backend is enabled

Roman Bogorodskiy bogorodskiy at gmail.com
Sun Jan 3 02:25:35 UTC 2016


Make 'virsh -V' list ZFS storage backend if it's enabled.
---
 tools/virsh.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/virsh.c b/tools/virsh.c
index 7484bed..9118145 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -631,6 +631,9 @@ virshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED)
 #ifdef WITH_STORAGE_GLUSTER
     vshPrint(ctl, " Gluster");
 #endif
+#ifdef WITH_STORAGE_ZFS
+    vshPrint(ctl, " ZFS");
+#endif
     vshPrint(ctl, "\n");
 
     vshPrint(ctl, "%s", _(" Miscellaneous:"));
-- 
1.9.1




More information about the libvir-list mailing list