mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-10 21:51:31 +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: 0fe2d8dd335054fae38b46bbbac58a4662e1a1d0 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…
x
Reference in New Issue
Block a user