From: Michal Privoznik Date: Thu, 24 Nov 2022 07:52:25 +0000 (+0100) Subject: virsh: Report iSCSI-direct backend in long version X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3b2630a96aaead1bcb685567daf09228b8b0db94;p=libvirt.git 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 Reviewed-by: Jiri Denemark --- 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