Skip to content
Permalink
Browse files

CA-118899: Support UTF-8 iSCSI target names.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>
Acked-by: Thanos Makatos <thanos.makatos@citrix.co.uk>
Imported-by: Vineeth Raveendran <vineeth.thampi@citrix.com>

(cherry picked from commit 9dbd30c)

GitHub: closes #140 on xapi-project/sm
  • Loading branch information...
rdobson authored and chandrikas committed Oct 18, 2013
1 parent aff95e8 commit 129b8d9bce89ba06ffefdeaeef8309cf4cb40736
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/ISCSISR.py
@@ -183,7 +183,7 @@ def load(self, sr_uuid):
self._scan_IQNs()
raise xs_errors.XenError('ConfigTargetIQNMissing')

self.targetIQN = self.dconf['targetIQN']
self.targetIQN = unicode(self.dconf['targetIQN']).encode('utf-8')
self.attached = False
try:
self.attached = iscsilib._checkTGT(self.targetIQN)

0 comments on commit 129b8d9

Please sign in to comment.
You can’t perform that action at this time.