]> xenbits.xensource.com Git - libvirt.git/commit
storage: Fix startup issue for logical pool
authorJohn Ferlan <jferlan@redhat.com>
Wed, 16 Dec 2015 16:54:04 +0000 (11:54 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 17 Dec 2015 13:20:22 +0000 (08:20 -0500)
commit8c865052b98f927fb3cc2d043e7ffff6fdcb2be9
treede57b42077afc48c32bd3752d09eee02e593e718
parent5efcfb96954d85c80a512889fead41ff626a711d
storage: Fix startup issue for logical pool

Commit id '71b803ac' assumed that the storage pool source device path
was required for a 'logical' pool. This resulted in a failure to start
a pool without any device path defined.

So, adjust the virStorageBackendLogicalMatchPoolSource logic to
return success if at least the pool name matches the vgs output
when no pool source device path is/are provided.
src/storage/storage_backend_logical.c