]> rtime.felk.cvut.cz Git - jailhouse.git/blobdiff - tools/jailhouse-cell-linux
tools: make jailhouse-cell-linux run under Python3
[jailhouse.git] / tools / jailhouse-cell-linux
index 0d83e4bec26ece18a42c8f8d22fe3b0354f00453..a6d738c65023cb54f96a7f2b242a1e2dd13a966c 100755 (executable)
@@ -172,7 +172,7 @@ class JailhouseCell:
     JAILHOUSE_CELL_ID_UNUSED = -1
 
     def __init__(self, config):
-        self.name = config.name
+        self.name = config.name.encode('utf-8')
 
         self.dev = open('/dev/jailhouse')