mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
cpu_conf: unbreak XPath in virCPUDefParseXML()
In one of my previous commits, I've changed an XPath in
virCPUDefParseXML() from "boolean(./counter...)" to
"./counter...)". Notice the dangling closing bracket? Well, I
didn't back then.
Fixes: 0fe2d8dd33
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
87a43a907f
commit
a58ff73644
@ -441,7 +441,7 @@ virCPUDefParseXML(xmlXPathContextPtr ctxt,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if ((counter_node = virXPathNode("./counter[@name='tsc'])", ctxt))) {
|
||||
if ((counter_node = virXPathNode("./counter[@name='tsc']", ctxt))) {
|
||||
tsc = g_new0(virHostCPUTscInfo, 1);
|
||||
|
||||
if (virXMLPropULongLong(counter_node, "frequency", 10,
|
||||
|
Loading…
Reference in New Issue
Block a user