diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c index 91a76586c0..a3cefcda8d 100644 --- a/src/conf/node_device_conf.c +++ b/src/conf/node_device_conf.c @@ -1736,6 +1736,8 @@ virNodeDeviceDefParseXML(xmlXPathContextPtr ctxt, goto error; } + def->sysfs_path = virXPathString("string(./path[1])", ctxt); + /* Parse devnodes */ nodes = NULL; if ((n = virXPathNodeSet("./devnode", ctxt, &nodes)) < 0)