Skip to content

libxl: deterministic mac addresses

Joshua Perrett xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest2 patches 2 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Created tools/shared directory containing MD5 filestools/Makefile tools/Rules.mk tools/shared/Makefile +2 more+315 -01 reply
2/2libxl: made vm mac address assignment deterministictools/libxl/Makefile tools/libxl/libxl_freebsd.c tools/libxl/libxl_internal.h +3 more+71 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [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
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel