]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Use MD5 sum of mount path as storage pool UUID
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 8 Aug 2010 18:45:12 +0000 (20:45 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 20 Aug 2010 23:30:08 +0000 (01:30 +0200)
commit92af69abad8b6531ea5d2dc16bfc36654c8f531f
tree7426d80de214eb6b99681ff4f06fff2b7ff8940a
parenta8cc67a44b4182aa1c81e515cabb5897f8506e8d
esx: Use MD5 sum of mount path as storage pool UUID

With the previous storage pool UUID source not all storage pools
had a proper UUID, especially GSX storage pools. The mount path
is unique per host and cannot change during the lifetime of the
datastore. Therefore, it's MD5 sum can be used as UUID.

Use gnulib's crypto/md5 module to generate the MD5 sum.
bootstrap.conf
src/esx/esx_storage_driver.c