]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
authorMark McLoughlin <markmc@redhat.com>
Thu, 15 Feb 2007 19:08:08 +0000 (19:08 +0000)
committerMark McLoughlin <markmc@redhat.com>
Thu, 15 Feb 2007 19:08:08 +0000 (19:08 +0000)
        * qemud/conf.c: fix <interface type='network'> output

ChangeLog
qemud/conf.c

index 7c3e12561c8d0cf4c8e56cf3412285bbb93524f9..ee7a3bdda47159c957e894bf29452409acb9962e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
+
+       * qemud/conf.c: fix <interface type='network'> output
+       
 Thu Feb 15 19:06:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
 
        * qemud/conf.c: fix the <graphics> output - we weren't
index e41452466e03a43b6e824f0cf3f3bccef0341294..49825b4c482618b8033596bbf0ce7960e885c8cf 100644 (file)
@@ -1876,6 +1876,7 @@ char *qemudGenerateXML(struct qemud_server *server, struct qemud_vm *vm, int liv
             "server",
             "client",
             "mcast",
+            "network",
             "vde",
         };
         if (qemudBufferPrintf(&buf, "    <interface type='%s'>\n",
@@ -1890,7 +1891,7 @@ char *qemudGenerateXML(struct qemud_server *server, struct qemud_vm *vm, int liv
             goto no_memory;
 
         if (net->type == QEMUD_NET_NETWORK) {
-            if (qemudBufferPrintf(&buf, "      <network name='%s'", net->dst.network.name) < 0)
+            if (qemudBufferPrintf(&buf, "      <source network='%s'", net->dst.network.name) < 0)
                 goto no_memory;
 
             if (net->dst.network.tapifname[0] != '\0' &&