mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
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:
parent
e8f064000d
commit
fb387cbe27
@ -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
|
||||||
|
@ -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' &&
|
||||||
|
Loading…
Reference in New Issue
Block a user