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

Michal Privoznik mprivozn at redhat.com
Thu Nov 24 12:10:19 UTC 2022


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 at redhat.com>
---
 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



More information about the libvir-list mailing list