mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
Preserve vif order
* src/xml-internal.c: apply patch from Hiroyuki Kaguchi to preserve the vif list order. Daniel
This commit is contained in:
parent
d3043afe5c
commit
5912e7c233
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jan 21 09:25:12 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/xml-internal.c: apply patch from Hiroyuki Kaguchi to
|
||||||
|
preserve the vif list order.
|
||||||
|
|
||||||
Mon Jan 21 09:06:28 CET 2008 Daniel Veillard <veillard@redhat.com>
|
Mon Jan 21 09:06:28 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* docs/API* docs/api.xsl docs/site.xsl docs/Makefile.am: remove the
|
* docs/API* docs/api.xsl docs/site.xsl docs/Makefile.am: remove the
|
||||||
|
@ -2232,7 +2232,7 @@ virConfPtr xenXMParseXMLToConfig(virConnectPtr conn, const char *xml) {
|
|||||||
}
|
}
|
||||||
vifs->type = VIR_CONF_LIST;
|
vifs->type = VIR_CONF_LIST;
|
||||||
vifs->list = NULL;
|
vifs->list = NULL;
|
||||||
for (i = 0; i < obj->nodesetval->nodeNr; i++) {
|
for (i = obj->nodesetval->nodeNr - 1; i >= 0; i--) {
|
||||||
virConfValuePtr thisVif;
|
virConfValuePtr thisVif;
|
||||||
char *vif = xenXMParseXMLVif(conn, obj->nodesetval->nodeTab[i], hvm);
|
char *vif = xenXMParseXMLVif(conn, obj->nodesetval->nodeTab[i], hvm);
|
||||||
if (!vif)
|
if (!vif)
|
||||||
|
Loading…
Reference in New Issue
Block a user