]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add APIs for obtaining the unique ID of LVM & SCSI volumes
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 20 Jul 2011 09:40:53 +0000 (10:40 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 9 Aug 2012 15:12:01 +0000 (16:12 +0100)
commitefd6824cfc11115d6c40f210050acd13a1d4c224
tree311447cd1e3a5a0af4844e61941633fb2d5c32c0
parente18396f36d1e1557dc0b8f93bcf6a85d3cbe0b18
Add APIs for obtaining the unique ID of LVM & SCSI volumes

Both LVM volumes and SCSI LUNs have a globally unique
identifier associated with them. It is useful to be able
to query this identifier to then perform disk locking,
rather than try to figure out a stable pathname.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/storage_file.c
src/util/storage_file.h