mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
nodedev: parse <path>
This should have been added withc4a4603de
(or0bdefd9b04
). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
0809508ed2
commit
14a3e7ab5c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user