+Fri Jul 25 17:21:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
+
+ * src/domain_conf.c: Fix typos in comments, and the dummy
+ filename passed to xmlReadDoc (patch from Chris Lalancette)
+
Fri Jul 25 17:17:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* src/xml.c: Remove now unused c-ctype.h include
}
def->id = -1;
- /* Find out what type of QEMU virtualization to use */
+ /* Find out what type of virtualization to use */
if (!(tmp = virXPathString(conn, "string(./@type)", ctxt))) {
virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR,
"%s", _("missing domain type attribute"));
}
VIR_FREE(nodes);
- /* analysis of the input devices */
+ /* analysis of the graphics devices */
if ((n = virXPathNodeSet(conn, "./devices/graphics", ctxt, &nodes)) < 0) {
virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR,
"%s", _("cannot extract graphics devices"));
xmlNodePtr root;
virDomainDefPtr def = NULL;
- if (!(xml = xmlReadDoc(BAD_CAST xmlStr, "network.xml", NULL,
+ if (!(xml = xmlReadDoc(BAD_CAST xmlStr, "domain.xml", NULL,
XML_PARSE_NOENT | XML_PARSE_NONET |
XML_PARSE_NOERROR | XML_PARSE_NOWARNING))) {
virDomainReportError(conn, VIR_ERR_XML_ERROR, NULL);