device hot plug description with a wrong root element.
Daniel
+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:
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)