python-rtslib/0001-Turn-off-unsupported-fabrics.patch
Maurizio Lombardi c6876f4ede rtslib: disable the unsupported fabrics
Resolves: #1942057

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
2021-04-12 10:26:18 +02:00

25 lines
784 B
Diff

diff --git a/rtslib/fabric.py b/rtslib/fabric.py
index 02e156c..ff7387f 100644
--- a/rtslib/fabric.py
+++ b/rtslib/fabric.py
@@ -464,13 +464,13 @@ fabric_modules = {
"srpt": SRPTFabricModule,
"iscsi": ISCSIFabricModule,
"loopback": LoopbackFabricModule,
- "qla2xxx": Qla2xxxFabricModule,
- "sbp": SBPFabricModule,
- "tcm_fc": FCoEFabricModule,
+# "qla2xxx": Qla2xxxFabricModule,
+# "sbp": SBPFabricModule,
+# "tcm_fc": FCoEFabricModule,
# "usb_gadget": USBGadgetFabricModule, # very rare, don't show
- "vhost": VhostFabricModule,
- "xen-pvscsi": XenPvScsiFabricModule,
- "ibmvscsis": IbmvscsisFabricModule,
+# "vhost": VhostFabricModule,
+# "xen-pvscsi": XenPvScsiFabricModule,
+# "ibmvscsis": IbmvscsisFabricModule,
}
#