You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/05/18 06:55:24 UTC
[GitHub] wido commented on issue #2650: Ceph RBD Feature flag update
wido commented on issue #2650: Ceph RBD Feature flag update
URL: https://github.com/apache/cloudstack/issues/2650#issuecomment-390113044
I remember now :) This is leftover code from when libvirt didn't support cloning volumes yet.
Libvirt supports cloning a RBD image: https://libvirt.org/git/?p=libvirt.git;a=blob;f=src/storage/storage_backend_rbd.c;h=642cacb67362424b00e905bab324dad98dd98e8e;hb=HEAD#l945
We should call that function in libvirt to clone the image:
- https://libvirt.org/sources/virshcmdref/html/sect-vol-clone.html
- https://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html
This should be supported by the libvirt Java bindings as well, so I think we can already do this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services