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 <[email protected]>
---
 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

Reply via email to