[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: Pass bridge config info into xenstore



# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1277741438 -3600
# Node ID dcb1cd697788a647d392b5d0bb581976c978abb8
# Parent  c81c215965f51a6a6ff5a619c6f5f9b9d3375aa0
libxl: Pass bridge config info into xenstore

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
---
 tools/libxl/libxl.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r c81c215965f5 -r dcb1cd697788 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Mon Jun 28 16:56:52 2010 +0100
+++ b/tools/libxl/libxl.c       Mon Jun 28 17:10:38 2010 +0100
@@ -1454,6 +1454,8 @@ int libxl_device_nic_add(struct libxl_ct
     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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.