mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +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>
|
||||
|
||||
* 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' &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user