[libvirt] [PATCH] Implement vol delete for disk pools

Cole Robinson crobinso at redhat.com
Mon Aug 11 19:58:41 UTC 2008


The patch below implements virStorageVolDelete for volumes
on a disk pool.

The only interesting thing here is that parted wants a
partition number to delete, so we need to peel off the
end of the volume's target path which will be of the form
'/dev/sda1' or similar (I assume. If not, it's still
better than having nothing implemented).

Thanks,
Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: del-disk-vol.patch
Type: text/x-patch
Size: 2331 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080811/6e8a76ab/attachment-0001.bin>


More information about the libvir-list mailing list