]> xenbits.xensource.com Git - libvirt.git/commitdiff
Revert "Set default name for SPICE agent channel"
authorLaine Stump <laine@laine.org>
Fri, 30 Mar 2012 14:52:46 +0000 (10:52 -0400)
committerLaine Stump <laine@laine.org>
Fri, 30 Mar 2012 16:38:52 +0000 (12:38 -0400)
This patch reverts commit b0e2bb3. Its functionality has been replaced
by commit 3269ee6.

src/conf/domain_conf.c

index 4caef6f75b62ac6269937a7b2cd0bfb19fb42505..7ea57b9cef3eb591d09021a60d572ff2c69e167b 100644 (file)
@@ -5248,13 +5248,6 @@ virDomainChrDefParseXML(virCapsPtr caps,
             goto error;
         } else {
             def->source.data.spicevmc = VIR_DOMAIN_CHR_SPICEVMC_VDAGENT;
-            if (!def->target.name) {
-                def->target.name = strdup("com.redhat.spice.0");
-                if (!def->target.name) {
-                    virReportOOMError();
-                    goto error;
-                }
-            }
         }
     }