[PATCH 2/2] virsh: Report iSCSI-direct backend in long version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We already report whether iSCSI backend was enabled at compile
time, but we don't do the same with iSCSI-direct backend.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 tools/virsh.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/virsh.c b/tools/virsh.c
index ad11f4a9ac..8de85f2516 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -573,6 +573,9 @@ virshShowVersion(vshControl *ctl G_GNUC_UNUSED)
 #ifdef WITH_STORAGE_ISCSI
     vshPrint(ctl, " iSCSI");
 #endif
+#ifdef WITH_STORAGE_ISCSI_DIRECT
+    vshPrint(ctl, " iSCSI-direct");
+#endif
 #ifdef WITH_STORAGE_LVM
     vshPrint(ctl, " LVM");
 #endif
-- 
2.37.4




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux