提交 14a3e7ab 编写于 作者: M Marc-André Lureau 提交者: Michal Privoznik

nodedev: parse <path>

This should have been added with c4a4603d (or 0bdefd9b).
Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
上级 0809508e
......@@ -1736,6 +1736,8 @@ virNodeDeviceDefParseXML(xmlXPathContextPtr ctxt,
goto error;
}
def->sysfs_path = virXPathString("string(./path[1])", ctxt);
/* Parse devnodes */
nodes = NULL;
if ((n = virXPathNodeSet("./devnode", ctxt, &nodes)) < 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册