From 45b28f7c4f1876c341c97d24c368427c0f26f344 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Wed, 18 May 2011 11:57:07 +0200 Subject: [PATCH] qemu: fix typo in spice migration code This typo caused XPath returning improper value and thus not working spice after migration. --- src/qemu/qemu_migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index cb408ac06e..fcf8f9c85e 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -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;