提交 f52f9642 编写于 作者: X XuTian 提交者: Xu Tian

use file path instead json string when create block device

Signed-off-by: NXuTian <xutian@redhat.com>
上级 f50a1407
......@@ -208,7 +208,7 @@ class StorageVolume(object):
if self.format.TYPE == "qcow2":
if self.backing:
options["backing-fmt"] = self.backing.format.TYPE
options["backing-file"] = self.backing.as_json()
options["backing-file"] = self.backing.path
if self.encrypt:
options["encrypt"] = dict()
key_secret = self.format.get_param("encrypt.key-secret")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册