mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
nodedev: parse <path>
This should have been added with c4a4603de (or 0bdefd9b04). 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…
x
Reference in New Issue
Block a user