]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Improve SCSI volume key generation
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 12 Nov 2010 15:49:40 +0000 (15:49 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Apr 2011 15:04:22 +0000 (16:04 +0100)
commitfdcd06ef71ba19129b0cb8d282243b619113b31d
tree12bba307f5c3075eb6169b5dd4ad8f742e177336
parentef264e82eeee72bea4e6d1332e0dd8bb9afa06ec
Improve SCSI volume key generation

The SCSI volumes get a better 'key' field based on the fully
qualified volume path. All SCSI volumes have a unique serial
available in hardware which can be obtained by sending a
suitable SCSI command. Call out to udev's 'scsi_id' command
to fetch this value

* src/storage/storage_backend_scsi.c: Improve volume key
  field value stability and uniqueness
src/storage/storage_backend_scsi.c