]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: Report iSCSI-direct backend in long version
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Nov 2022 07:52:25 +0000 (08:52 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Nov 2022 14:23:47 +0000 (15:23 +0100)
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@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
tools/virsh.c

index ad11f4a9ac14dbcc0fef1f7274950eb24b435830..8de85f25163f5141a9a4cb905a9b12dc49554e1e 100644 (file)
@@ -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