]> xenbits.xensource.com Git - libvirt.git/commit
storage: Adjust disk label found to match labels
authorJohn Ferlan <jferlan@redhat.com>
Thu, 15 Dec 2016 20:45:01 +0000 (15:45 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 10 Jan 2017 13:44:50 +0000 (08:44 -0500)
commita4cb4a74f9f8171d0da3f4c3cec5e8210430c833
tree8edf90d5e33f21844d81a414b124511da82b9c3b
parenta48c674fba3ac5bdfb862daafefe19217c78e105
storage: Adjust disk label found to match labels

Currently as long as the disk is formatted using a known parted format
type, the algorithm is happy to continue. However, that leaves a scenario
whereby a disk formatted using "pc98" could be used by a pool that's defined
using "dvh" (or vice versa). Alter the check to be match and different
and adjust the caller.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/storage/storage_backend.c