Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>

* qemud/conf.c: fix <interface type='network'> output
This commit is contained in:
Mark McLoughlin 2007-02-15 19:08:08 +00:00
parent e8f064000d
commit fb387cbe27
2 changed files with 6 additions and 1 deletions

View File

@ -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> Thu Feb 15 19:06:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c: fix the <graphics> output - we weren't * qemud/conf.c: fix the <graphics> output - we weren't

View File

@ -1876,6 +1876,7 @@ char *qemudGenerateXML(struct qemud_server *server, struct qemud_vm *vm, int liv
"server", "server",
"client", "client",
"mcast", "mcast",
"network",
"vde", "vde",
}; };
if (qemudBufferPrintf(&buf, " <interface type='%s'>\n", 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; goto no_memory;
if (net->type == QEMUD_NET_NETWORK) { 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; goto no_memory;
if (net->dst.network.tapifname[0] != '\0' && if (net->dst.network.tapifname[0] != '\0' &&