George Dunlap
2010-Jun-28 13:27 UTC
[Xen-devel] [PATCH] libxl: Pass bridge config info into xenstore
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> diff -r bf64e1081333 -r ee7363dde949 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Fri Jun 25 16:05:20 2010 +0100 +++ b/tools/libxl/libxl.c Mon Jun 28 14:27:22 2010 +0100 @@ -1454,6 +1454,8 @@ flexarray_set(back, boffset++, libxl_sprintf(ctx, "%02x:%02x:%02x:%02x:%02x:%02x", nic->mac[0], nic->mac[1], nic->mac[2], nic->mac[3], nic->mac[4], nic->mac[5])); + flexarray_set(back, boffset++, "bridge"); + flexarray_set(back, boffset++, libxl_sprintf(ctx, "%s", nic->bridge)); flexarray_set(back, boffset++, "handle"); flexarray_set(back, boffset++, libxl_sprintf(ctx, "%d", nic->devid)); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel