提交 e1eb9347 编写于 作者: M Martin Kletzander 提交者: Eric Blake

Fixed dumpxml of <iotune> parameters

The output of dumpxml for <iotune> settings was misformatted, this
patch just adds missing newlines.
上级 af5594c8
......@@ -10050,12 +10050,12 @@ virDomainDiskDefFormat(virBufferPtr buf,
}
if (def->blkdeviotune.read_iops_sec) {
virBufferAsprintf(buf, " <read_iops_sec>%llu</read_iops_sec>",
virBufferAsprintf(buf, " <read_iops_sec>%llu</read_iops_sec>\n",
def->blkdeviotune.read_iops_sec);
}
if (def->blkdeviotune.write_iops_sec) {
virBufferAsprintf(buf, " <write_iops_sec>%llu</write_iops_sec>",
virBufferAsprintf(buf, " <write_iops_sec>%llu</write_iops_sec>\n",
def->blkdeviotune.write_iops_sec);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册