From: Dave Allan Date: Thu, 19 Nov 2009 15:05:17 +0000 (+0100) Subject: remove sysfs_path and parent_sysfs_path from XML X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2cdb665b1065f1f3a3162b66a21771978bdff77f;p=libvirt.git remove sysfs_path and parent_sysfs_path from XML Erroneously included the sysfs_path and parent_sysfs_path elements in the node device xml, they were not supposed to show up there * src/conf/node_device_conf.c: remove the output of the 2 fields --- diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c index f2faeec62c..6003ab15ca 100644 --- a/src/conf/node_device_conf.c +++ b/src/conf/node_device_conf.c @@ -250,17 +250,9 @@ char *virNodeDeviceDefFormat(virConnectPtr conn, virBufferAddLit(&buf, "\n"); virBufferEscapeString(&buf, " %s\n", def->name); - if (def->sysfs_path != NULL) { - virBufferEscapeString(&buf, " %s\n", - def->sysfs_path); - } if (def->parent) { virBufferEscapeString(&buf, " %s\n", def->parent); } - if (def->parent_sysfs_path != NULL) { - virBufferEscapeString(&buf, " %s\n", - def->parent_sysfs_path); - } if (def->driver) { virBufferAddLit(&buf, " \n"); virBufferEscapeString(&buf, " %s\n", def->driver);