virsh: Report iSCSI-direct backend in long version

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>
This commit is contained in:
Michal Privoznik 2022-11-24 08:52:25 +01:00
parent 5eae544022
commit 3b2630a96a

View 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