提交 657b5eb5 编写于 作者: D Daniel Veillard

* src/xml.c: applied modified patch from Masayuki Sunou for

  device hot plug description with a wrong root element.
Daniel
上级 5ced7bd1
Fri Jul 13 14:25:16 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/xml.c: applied modified patch from Masayuki Sunou for
device hot plug description with a wrong root element.
Fri Jul 13 10:28:53 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/virterror.c src/xml.c include/libvirt/virterror.h:
......
......@@ -1351,6 +1351,9 @@ virParseXMLDevice(virConnectPtr conn, char *xmldesc, int hvm, int xendConfigVers
else if (xmlStrEqual(node->name, BAD_CAST "interface")) {
if (virDomainParseXMLIfDesc(conn, node, &buf, hvm, xendConfigVersion) != 0)
goto error;
} else {
virXMLError(conn, VIR_ERR_XML_ERROR, (const char *) node->name, 0);
goto error;
}
cleanup:
if (xml != NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册