mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
storage: Add iscsi-direct pool list type flag
Add pool list type flag VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI_DIRECT,
which was forgotten when introducing iscsi-direct pool at f0bf1be3.
https://bugzilla.redhat.com/show_bug.cgi?id=1726609
Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
committed by
Michal Privoznik
parent
355fb766c9
commit
3efdffc450
@@ -1205,7 +1205,7 @@ cmdPoolList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
|
||||
flags |= VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI;
|
||||
break;
|
||||
case VIR_STORAGE_POOL_ISCSI_DIRECT:
|
||||
flags |= VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI;
|
||||
flags |= VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI_DIRECT;
|
||||
break;
|
||||
case VIR_STORAGE_POOL_SCSI:
|
||||
flags |= VIR_CONNECT_LIST_STORAGE_POOLS_SCSI;
|
||||
|
||||
@@ -4093,7 +4093,7 @@ I<--uuid> and I<--name>.
|
||||
You may also want to list pools with specified types using I<type>, the
|
||||
pool types must be separated by comma, e.g. --type dir,disk. The valid pool
|
||||
types include 'dir', 'fs', 'netfs', 'logical', 'disk', 'iscsi', 'scsi',
|
||||
'mpath', 'rbd', 'sheepdog', 'gluster', 'zfs' and 'vstorage'.
|
||||
'mpath', 'rbd', 'sheepdog', 'gluster', 'zfs', 'vstorage' and 'iscsi-direct'.
|
||||
|
||||
The I<--details> option instructs virsh to additionally
|
||||
display pool persistence and capacity related information where available.
|
||||
|
||||
Reference in New Issue
Block a user