提交 5530424a 编写于 作者: D Dmitry Guryanov 提交者: Daniel P. Berrange

parallels: set file format in virDomainDef

Set file format in virDomainDef structure to produce correct
XML in virDomainGetXMLDesc function.
Signed-off-by: NDmitry Guryanov <dguryanov@parallels.com>
上级 13f229aa
......@@ -321,6 +321,8 @@ parallelsGetHddInfo(virDomainDefPtr def,
if (virDomainDiskSetSource(disk, tmp) < 0)
return -1;
virDomainDiskSetFormat(disk, VIR_STORAGE_FILE_PLOOP);
}
tmp = virJSONValueObjectGetString(value, "port");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册