]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
qemu: fix typo in spice migration code
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 18 May 2011 09:57:07 +0000 (11:57 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 18 May 2011 09:57:07 +0000 (11:57 +0200)
This typo caused XPath returning improper value and thus not
working spice after migration.

src/qemu/qemu_migration.c

index cb408ac06ed78b9833caa7b47388bc2dae8d38ea..fcf8f9c85e86960002ad0f4143147287b6691ab9 100644 (file)
@@ -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;