|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Really randomise MAC addresses for multi-VIF guests.
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 3bb1857981e69bffd23da2388bb8c8c684acda31
# Parent c7689e1e0768196405ba1fff9ea4df70101ce224
Really randomise MAC addresses for multi-VIF guests.
Reseeding on every VIF doesn;t work as timeofday doesn't
change quickly enough.
Signed-off-by: Jim Dykman <dykman@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r c7689e1e0768 -r 3bb1857981e6 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Tue Aug 16 18:12:19 2005
+++ b/tools/python/xen/xm/create.py Tue Aug 16 19:38:22 2005
@@ -380,7 +380,6 @@
@return: MAC address string
"""
- random.seed()
mac = [ 0xaa, 0x00, 0x00,
random.randint(0x00, 0x7f),
random.randint(0x00, 0xff),
@@ -689,6 +688,7 @@
del xc
def main(argv):
+ random.seed()
opts = gopts
args = opts.parse(argv)
if opts.vals.help:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Really randomise MAC addresses for multi-VIF guests.,
Xen patchbot -unstable <=
|
|
|
|
|