mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
qemu: fix typo in spice migration code
This typo caused XPath returning improper value and thus not working spice after migration.
This commit is contained in:
parent
42af244347
commit
45b28f7c4f
@ -355,7 +355,7 @@ qemuMigrationCookieGraphicsXMLParse(xmlXPathContextPtr ctxt)
|
||||
goto error;
|
||||
}
|
||||
/* Optional */
|
||||
grap->tlsSubject = virXPathString("string(./graphics/cert[ info='subject']/@value)", ctxt);
|
||||
grap->tlsSubject = virXPathString("string(./graphics/cert[@info='subject']/@value)", ctxt);
|
||||
|
||||
|
||||
return grap;
|
||||
|
Loading…
Reference in New Issue
Block a user