From 2cdb665b1065f1f3a3162b66a21771978bdff77f Mon Sep 17 00:00:00 2001 From: Dave Allan Date: Thu, 19 Nov 2009 16:05:17 +0100 Subject: [PATCH] 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 --- src/conf/node_device_conf.c | 8 -------- 1 file changed, 8 deletions(-) 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); -- GitLab