提交 fb387cbe 编写于 作者: M Mark McLoughlin

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

        * qemud/conf.c: fix <interface type='network'> output
上级 e8f06400
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
......
......@@ -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' &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册