[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] [xen-api-libs.hg:PATCH 0 of 2] Uuid stuff.
This is not ready for merging, but I'd like some comments on the code and direction. Besides the minor clean-up (is more needed?) it introduces a new function, make_uuid_random, which reads from /dev/random (and therefore may block). The plan is to change make_uuid to use the PRNG in Random, and then modify xapi so that make_uuid_random is used where it's necessary (creating pool secret and sessions, what else?). Is this a direction that's worthwhile to pursue? Would a make_uuid_urandom also be necessary? (E.g. getting session UUIDs from /dev/random might be too heavy weight for something that's that short-lived.) 2 files changed, 30 insertions(+), 44 deletions(-) uuid/uuid.ml | 38 +++++++++----------------------------- uuid/uuid.mli | 36 +++++++++++++++++++++--------------- _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |