mirror of https://gitee.com/openkylin/libvirt.git
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