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

[Xen-devel] [PATCH v4 0/2] libxl: deterministic mac addresses



The patch has now been split into two parts. One adds the MD5 files to
a shared directory in tools, so that it can potentially be reused. The
second patch makes mac addresses deterministic. It still uses a host 
mac address, seeing as gethostid() won't work (as George explained). 
The code should now work the same on both little endian and big endian 
machines.

Joshua Perrett (2):
  Created tools/shared directory containing MD5 files
  libxl: made vm mac address assignment deterministic

 tools/Makefile               |   1 +
 tools/Rules.mk               |   1 +
 tools/libxl/Makefile         |   2 +-
 tools/libxl/libxl_freebsd.c  |   5 +
 tools/libxl/libxl_internal.h |   5 +
 tools/libxl/libxl_linux.c    |  31 ++++-
 tools/libxl/libxl_netbsd.c   |   5 +
 tools/libxl/libxl_nic.c      |  31 ++++-
 tools/shared/Makefile        |  21 ++++
 tools/shared/md5.c           | 266 +++++++++++++++++++++++++++++++++++++++++++
 tools/shared/md5.h           |  26 +++++
 11 files changed, 386 insertions(+), 8 deletions(-)
 create mode 100644 tools/shared/Makefile
 create mode 100644 tools/shared/md5.c
 create mode 100644 tools/shared/md5.h

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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