From: Olaf Hering Date: Wed, 17 Jan 2018 12:27:48 +0100 Subject: Correct name for Xen pvscsi Git-commit: 5a5670608b7abab061a59d65568e8ab0a53b6ef0 References: bsc#1076455 The name used in released products is xen-pvscsi, not xen_pvscsi. Fixes: 2bcc4cd ("Add support for xen-scsiback") Signed-off-by: Olaf Hering Acked-by: Lee Duncan --- rtslib/fabric.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtslib/fabric.py b/rtslib/fabric.py index 4e9a1ee4073a..b529f14815cc 100644 --- a/rtslib/fabric.py +++ b/rtslib/fabric.py @@ -440,7 +440,7 @@ class VhostFabricModule(_BaseFabricModule): class XenPvScsiFabricModule(_BaseFabricModule): def __init__(self): - super(XenPvScsiFabricModule, self).__init__('xen_pvscsi') + super(XenPvScsiFabricModule, self).__init__('xen-pvscsi') self._path = "%s/%s" % (self.configfs_dir, 'xen-pvscsi') self.features = ("nexus", "tpgts") self.wwn_types = ('naa',) @@ -469,7 +469,7 @@ fabric_modules = { "tcm_fc": FCoEFabricModule, # "usb_gadget": USBGadgetFabricModule, # very rare, don't show "vhost": VhostFabricModule, - "xen_pvscsi": XenPvScsiFabricModule, + "xen-pvscsi": XenPvScsiFabricModule, "ibmvscsis": IbmvscsisFabricModule, }