[libvirt] [PATCH] Ignore specified target path when creating logical vol

Cole Robinson crobinso at redhat.com
Wed Aug 13 03:59:01 UTC 2008


Specifying a target path when creating a storage
volume has no effect, since volumes only really use
the pool's target path and 'name' field to
establish the volume's target. Logical volumes
expect a target path to be passed, and it can
only cause problems.

The attached patch erases the passed target volume
and fills it in with the one generated from the
create operation.

Thanks,
Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lv-create-ignore-target-path.patch
Type: text/x-diff
Size: 1155 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080812/d71ecd60/attachment-0001.bin>


More information about the libvir-list mailing list