Ignore thin pool LVM devices.
Ignore thin pool LVM devices.

This should resolve:

  https://bugzilla.redhat.com/show_bug.cgi?id=924672

For BZ 924672 the problem stems from the fact that thin pool logical
volume devices show up in /sbin/lvs output just like normal logical
volumes do. Libvirt incorrectly assumes they are just normal logical
volumes and that they will have a corresponding /dev/vgname/lvname
device that has been created by udev and tries to use this device.

To illustrate here is an example of the /dev/vgname/ directory and
the lvs output for a normal lv, thin lv, and thin pool:

    LV     VG       Attr      LSize  Pool Origin Data%  Move Log Copy%  Convert
    lv     vgguests -wi-a----  1.00g
    pool   vgguests twi-a-tz- 11.00g               0.00
    thinlv vgguests Vwi-a-tz-  1.00g pool          0.00
total 0
lrwxrwxrwx. 1 root root 7 Oct  8 19:35 lv -> ../dm-7
lrwxrwxrwx. 1 root root 7 Oct  8 19:37 thinlv -> ../dm-6

This patch modifies virStorageBackendLogicalMakeVol() to ignore thin pool
devices.

taget/libvirt,datto/libvirt,eskultety/libvirt,VenkatDatta/libvirt,elmarco/libvirt,shugaoye/libvirt,agx/libvirt,fabianfreyer/libvirt,eskultety/libvirt,jfehlig/libvirt,andreabolognani/libvirt,elmarco/libvirt,agx/libvirt,nertpinx/libvirt,jardasgit/libvirt,olafhering/libvirt,shugaoye/libvirt,taget/libvirt,rlaager/libvirt,agx/libvirt,rlaager/libvirt,zippy2/libvirt,eskultety/libvirt,olafhering/libvirt,agx/libvirt,datto/libvirt,agx/libvirt,zippy2/libvirt,fabianfreyer/libvirt,cbosdo/libvirt,datto/libvirt,rlaager/libvirt,fabianfreyer/libvirt,elmarco/libvirt,shugaoye/libvirt,zhlcindy/libvirt-1.1.4-maintain,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,zippy2/libvirt,fabianfreyer/libvirt,libvirt/libvirt,cbosdo/libvirt,andreabolognani/libvirt,datto/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,eskultety/libvirt,crobinso/libvirt,jardasgit/libvirt,shugaoye/libvirt,olafhering/libvirt,zhlcindy/libvirt-1.1.4-maintain,VenkatDatta/libvirt,zhlcindy/libvirt-1.1.4-maintain,elmarco/libvirt,cbosdo/libvirt,nertpinx/libvirt,nertpinx/libvirt,rlaager/libvirt,jardasgit/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,cbosdo/libvirt,datto/libvirt,andreabolognani/libvirt,libvirt/libvirt,cbosdo/libvirt,taget/libvirt,crobinso/libvirt,taget/libvirt,crobinso/libvirt,jardasgit/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,crobinso/libvirt,jfehlig/libvirt,nertpinx/libvirt,olafhering/libvirt,shugaoye/libvirt,libvirt/libvirt,rlaager/libvirt,jfehlig/libvirt,zippy2/libvirt,eskultety/libvirt,elmarco/libvirt,libvirt/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain