[Libvir] [patch 3/3] Use libuuid to generate UUIDs

Daniel P. Berrange berrange at redhat.com
Mon Feb 26 14:50:22 UTC 2007


On Mon, Feb 26, 2007 at 02:28:30PM +0000, Mark McLoughlin wrote:
> If libuuid from e2fsprogs is available, we use that to
> generate UUIDs.

On the one hand I think its good to re-use existing libraries where
they fullfill our needs, but then we need to keep a built-in impl of
UUID generator for non-Linux systems which typically won't have a
e2fsprogs available. So rather than maintaining two separate impls 
of the UUID code, which splits the testing coverage, I'd be inclined
to just always use the builtin version. Guarenteeing consistent
algorithm / semantics for UUID generation across all platforms.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list