|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.0-testing] xl: start numbering vifs from 0
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1279285310 -3600
# Node ID 97166307b41e2aa1bf2969ac43aa4f33ede7a1b2
# Parent 8642ed331e89570625dbdfa479476fa5b608a8e8
xl: start numbering vifs from 0
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
xen-unstable changeset: 21805:2047364f0bdf
xen-unstable date: Wed Jul 14 16:46:49 2010 +0100
---
tools/libxl/xl_cmdimpl.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 8642ed331e89 -r 97166307b41e tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Fri Jul 16 14:01:25 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c Fri Jul 16 14:01:50 2010 +0100
@@ -620,7 +620,7 @@ static void parse_config_data(const char
char *buf2 = strdup(buf);
char *p, *p2;
*vifs = (libxl_device_nic *) realloc(*vifs, sizeof
(libxl_device_nic) * ((*num_vifs) + 1));
- init_nic_info((*vifs) + (*num_vifs), (*num_vifs) + 1);
+ init_nic_info((*vifs) + (*num_vifs), (*num_vifs));
p = strtok(buf2, ",");
if (!p)
goto skip;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.0-testing] xl: start numbering vifs from 0,
Xen patchbot-4.0-testing <=
|
|
|
|
|