提交 31bbb158 编写于 作者: P Peter Krempa

qemu: block: Add node-names to JSON backing storage strings

Format out the node-name if it was assigned for JSON-based storage
specification.
上级 caf71b64
......@@ -1013,5 +1013,10 @@ qemuBlockStorageSourceGetBackendProps(virStorageSourcePtr src)
break;
}
if (virJSONValueObjectAdd(fileprops, "S:node-name", src->nodestorage, NULL) < 0) {
virJSONValueFree(fileprops);
return NULL;
}
return fileprops;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册